GeezerVison is showing github.com — Moving mpl_tools.h to module 'Algorithm' · diruzzab/AliceO2@d360c4b
File tree
Expand file treeCollapse file tree
Open diff view settings
Utilities/DataCompression
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: Algorithm/CMakeLists.txt +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -43,6 +43,7 @@ set(TEST_SRCS |
43 | 43 | test/parser.cxx |
44 | 44 | test/tableview.cxx |
45 | 45 | test/pageparser.cxx |
| 46 | + test/test_mpl_tools.cxx |
46 | 47 | ) |
47 | 48 |
|
48 | 49 | O2_GENERATE_TESTS( |
|
Collapse file
Copy file name to clipboard File renamed without changes.
Collapse file
Copy file name to clipboardExpand all lines: Algorithm/test/test_mpl_tools.cxx +7-2Lines changed: 7 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
17 | 17 | #define BOOST_TEST_MAIN |
18 | 18 | #define BOOST_TEST_DYN_LINK |
19 | 19 | #include <boost/test/unit_test.hpp> |
20 | | -#include "../include/DataCompression/dc_primitives.h" |
21 | | -#include "../include/DataCompression/mpl_tools.h" |
| 20 | +#include "../include/Algorithm/mpl_tools.h" |
22 | 21 | #include <boost/mpl/size.hpp> |
23 | 22 | #include <boost/type.hpp> |
24 | 23 | #include <boost/mpl/range_c.hpp> |
|
28 | 27 | #include <boost/mpl/vector_c.hpp> |
29 | 28 | #include <boost/mpl/placeholders.hpp> |
30 | 29 | #include <boost/mpl/lambda.hpp> |
| 30 | +#include <boost/mpl/string.hpp> // see note below |
31 | 31 | #include <iostream> |
32 | 32 | #include <iomanip> |
33 | 33 | #include <vector> |
34 | 34 | #include <type_traits> |
35 | 35 |
|
| 36 | +// FIXME: mpl/string.hpp required to be included to avoid compilation error |
| 37 | +// error: no matching function for call to ‘assertion_failed ...' in the mpl::for_each |
| 38 | +// implementation (BOOST_MPL_ASSERT check). Not fully understood as simply including |
| 39 | +// mpl/assert.hpp does not help. Maybe it's an inconssitency in the do_typewrap meta |
| 40 | +// program |
36 | 41 | namespace bmpl = boost::mpl; |
37 | 42 |
|
38 | 43 | // defining a list of known data types |
|
Collapse file
Copy file name to clipboardExpand all lines: Utilities/DataCompression/CMakeLists.txt -1Lines changed: 0 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -37,7 +37,6 @@ EndForEach (_file RANGE 0 ${_length}) |
37 | 37 | endif() |
38 | 38 |
|
39 | 39 | set(TEST_SRCS |
40 | | - test/test_mpl_tools.cxx |
41 | 40 | test/test_dc_primitives.cxx |
42 | 41 | test/test_Fifo.cxx |
43 | 42 | test/test_DataGenerator.cxx |
|
Collapse file
Copy file name to clipboardExpand all lines: cmake/O2Dependencies.cmake +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1364,6 +1364,7 @@ o2_define_bucket( |
1364 | 1364 |
|
1365 | 1365 | DEPENDENCIES |
1366 | 1366 | Headers |
| 1367 | + common_boost_bucket |
1367 | 1368 |
|
1368 | 1369 | INCLUDE_DIRECTORIES |
1369 | 1370 | ) |
|