diff options
author | lloyd <[email protected]> | 2008-09-29 02:25:45 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-29 02:25:45 +0000 |
commit | bd27a130b13667feb26f3157d67d21f8ddb5986e (patch) | |
tree | b01a547f8faf911632a90701079bd1c4f41385d6 /src/core/libstate.cpp | |
parent | 45bde591db0feeb274e137aa021495f823409fd4 (diff) |
Pass a Mutex* as an argument to Pooling_Allocator instead of it grabbing
one via a reference to the global state.
Diffstat (limited to 'src/core/libstate.cpp')
-rw-r--r-- | src/core/libstate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libstate.cpp b/src/core/libstate.cpp index df9d2b519..60bb24fee 100644 --- a/src/core/libstate.cpp +++ b/src/core/libstate.cpp @@ -239,7 +239,7 @@ void Library_State::initialize(const InitializerOptions& args, cached_default_allocator = 0; - std::vector<Allocator*> mod_allocs = modules.allocators(); + std::vector<Allocator*> mod_allocs = modules.allocators(mutex_factory); for(u32bit j = 0; j != mod_allocs.size(); ++j) add_allocator(mod_allocs[j]); |