Skip to content

Commit

Permalink
Fixing a syntax error in sys.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
obvgab authored and moonshadow565 committed Jan 4, 2023
1 parent a0e5889 commit 1c9f82a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cslol-tools/lib/lol/io/sys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ auto sys::file_munmap(void* data, std::size_t count) noexcept -> void {
# include <sys/resource.h>
# define last_error() std::error_code((int)errno, std::system_category())

static ResourceLimit {
ResourceLimit() {
static struct ResourceLimit {
public: ResourceLimit() {
rlimit resourceLimit;
getrlimit(RLIMIT_NOFILE, &resourceLimit);
resourceLimit.rlim_cur = resourceLimit.rlim_max;
Expand Down

0 comments on commit 1c9f82a

Please sign in to comment.