From 9b2426ecfc4f004fe77badb4cc64f93af3a2d0d3 Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Fri, 7 Aug 2015 09:59:19 +0100 Subject: base: Rewrite the CircleBuf to fix bugs and add serialization The CircleBuf class has at least one bug causing it to overwrite the wrong elements when wrapping. The current code has a lot of unused functionality and duplicated code. This changeset replaces the old implementation with a new version that supports serialization and arbitrary types in the buffer (not just char). --- src/unittest/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unittest/SConscript') diff --git a/src/unittest/SConscript b/src/unittest/SConscript index ae22225b3..0275cdb42 100644 --- a/src/unittest/SConscript +++ b/src/unittest/SConscript @@ -34,7 +34,7 @@ Source('unittest.cc') UnitTest('bituniontest', 'bituniontest.cc') UnitTest('bitvectest', 'bitvectest.cc') -UnitTest('circletest', 'circletest.cc') +UnitTest('circlebuf', 'circlebuf.cc') UnitTest('cprintftest', 'cprintftest.cc') UnitTest('cprintftime', 'cprintftest.cc') UnitTest('fbtest', 'fbtest.cc') -- cgit v1.2.3