Skip to content

Commit

Permalink
Fix build error on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanUnderhill committed Aug 15, 2024
1 parent a0688dc commit b8f21b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/generators.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <algorithm>
#include <array>
#include <assert.h>
#include <atomic>
#include <cmath>
#include <cstring>
#include "filesystem.h"
Expand Down Expand Up @@ -59,7 +60,7 @@ struct TrackedResource {
TrackedResource() { ++count_; }
~TrackedResource() { --count_; }

static int Count() { return count_.load(); }
static int Count() { return count_; }

private:
static std::atomic<int> count_;
Expand Down

0 comments on commit b8f21b5

Please sign in to comment.