11 Commits

Author SHA1 Message Date
Dixon, Scott
4750a50099 Issue #100 remove auto_ptr and c++03 support.
Problem:
auto_ptr is deprecated.

Solution:
use unique_ptr which is only available in c++11 and newer.
Also fix how unit tests are run as part of the build to keep them from being
deleted when they fail.

Testing:
Unit tests on linux run.
2018-06-26 20:56:53 -07:00
Pavel Kirienko
c914f98772 Updated the unit tests for compatibility with GCC 5.4 2017-03-16 17:16:21 +03:00
Pavel Kirienko
38a241a90a Added -Wzero-as-null-pointer-constant, replaced NULL --> UAVCAN_NULLPTR. All changes are automatic, no manual edits to the library code. 2016-07-29 15:39:24 +03:00
Pavel Kirienko
3e6102d479 Map<> and Multiset<> fixed, 22 tests to go 2015-10-14 08:51:20 +03:00
Pavel Kirienko
be84897ed6 First stab at global refactoring of memory management - the library builds, but unit tests are failing horribly 2015-10-14 08:29:50 +03:00
Pavel Kirienko
00319909c1 PoolManager<> removed (was useless) (#33) 2015-06-15 15:27:33 +03:00
Pavel Kirienko
eb370b08dd Refactored Map<> 2015-05-16 03:31:18 +03:00
Pavel Kirienko
209547e8b6 Map<>::KVPair constructor fix 2015-03-23 22:20:15 +03:00
Pavel Kirienko
ab4c5f54a6 Map<>::getByIndex() 2015-03-23 04:27:59 +03:00
Pavel Kirienko
b09bfab117 Strict warnings in the unit tests. This commit needs to be carefully reviewed. 2014-08-28 04:54:59 +04:00
Pavel Kirienko
1a9e1d8202 Fixed tests 2014-05-05 14:23:14 +04:00