Skip to content

Commit 4e273ba

Browse files
committed
Reorg to highlight functions that use RAPIDJSON
1 parent fecbfb8 commit 4e273ba

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

lib/coek/coek/util/DataPortal.cpp

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#undef WITH_RAPIDJSON
2+
13
#include <coek/util/DataPortal.hpp>
24
#ifdef WITH_RAPIDJSON
35
# include <rapidjson/document.h>
@@ -14,7 +16,9 @@
1416

1517
namespace coek {
1618

17-
#ifdef WITH_RAPIDJSON
19+
//
20+
// Locally defined utility functions
21+
//
1822
namespace {
1923

2024
template <typename T>
@@ -297,6 +301,11 @@ void load_param_data(T& obj,
297301
}
298302
}
299303

304+
}
305+
306+
#ifdef WITH_RAPIDJSON
307+
namespace {
308+
300309
//
301310
// Process JSON file
302311
//

0 commit comments

Comments
 (0)