summaryrefslogtreecommitdiffstats
path: root/src/cppc4group.hpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2020-04-23 22:43:55 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2020-04-23 22:43:55 +0200
commit0e367485f950b2ab7b9bd1b6c5e4a9b5d328a5dc (patch)
tree3e5c4dc21173f0f78419c66ffdd69fe8f0dc8e64 /src/cppc4group.hpp
parent1aafff7b2a13034922861032fc74baf60b42dcbc (diff)
downloadcc4group-0e367485f950b2ab7b9bd1b6c5e4a9b5d328a5dc.tar.gz
cc4group-0e367485f950b2ab7b9bd1b6c5e4a9b5d328a5dc.zip
Store MemoryManagement by value instead of pointer
Diffstat (limited to 'src/cppc4group.hpp')
-rw-r--r--src/cppc4group.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cppc4group.hpp b/src/cppc4group.hpp
index 42bef77..ae8b3b3 100644
--- a/src/cppc4group.hpp
+++ b/src/cppc4group.hpp
@@ -81,7 +81,7 @@ public:
class MemoryManagement {
public:
struct MemoryManagementStrategy_t;
- using MemoryManagementStrategy = MemoryManagementStrategy_t*;
+ using MemoryManagementStrategy = const MemoryManagementStrategy_t*;
using Start = std::function<void*(void* memory, size_t size)>;
using End = std::function<void(void* memory)>;