diff options
author | David Robillard <d@drobilla.net> | 2009-07-03 22:17:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-07-03 22:17:56 +0000 |
commit | d3bebf39b6992814207643c238c47c3e3ceddefe (patch) | |
tree | 18959e2c752b8787fccf6174efa13108b886f992 /src/gc.cpp | |
parent | 22dac3110718ed92672d22f0438034c7e1b77dfd (diff) | |
download | resp-d3bebf39b6992814207643c238c47c3e3ceddefe.tar.gz resp-d3bebf39b6992814207643c238c47c3e3ceddefe.tar.bz2 resp-d3bebf39b6992814207643c238c47c3e3ceddefe.zip |
Improved const correctness.
Use iterators over indices (towards non-vector ATuple).
git-svn-id: http://svn.drobilla.net/resp/tuplr@176 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/gc.cpp')
-rw-r--r-- | src/gc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,12 +29,12 @@ using namespace std; GC::GC(size_t pool_size) { - _pool = tlsf_init(malloc(pool_size), pool_size); + _pool = tlsf_init(malloc(pool_size), pool_size); } GC::~GC() { - tlsf_destroy((tlsf_t*)_pool); + tlsf_destroy((tlsf_t*)_pool); } void* |