From 6f9ab7732da5731ee0db59d9623111b7af9b2e94 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 14 Jul 2013 13:06:49 -0700 Subject: gras: fixed allocation override bug + unit test When multiple consumers all choose to override the buffer, they were doing so with the same token, this lead to some buffer allocation confusion and nasty errors. Its ok for one to win out, but each allocator needs a unique token. There is also a unit test to check for this behaviour. --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/CMakeLists.txt') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index f74a6c7..f72dfab 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -19,6 +19,7 @@ set(test_sources block_calls_test.cpp factory_test.cpp serialize_tags_test.cpp + live_connect_test.cpp ) include_directories(${GRAS_INCLUDE_DIRS}) -- cgit