Skip to content

Commit 89621ee

Browse files
committed
Refactor PartitionsSaxHandler to use boost::json
Previously it was based on rapidjson The tests are adjusted accordingly. Relates-To: OCMAM-448 Signed-off-by: Alexander Sopov <ext-alexander.sopov@here.com>
1 parent 8a4b4e2 commit 89621ee

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

olp-cpp-sdk-dataservice-read/CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,13 @@ set(DESCRIPTION "C++ API library for reading OLP data")
2121
file(GLOB_RECURSE INC "include/*.h*")
2222
file(GLOB_RECURSE SRC "src/*.*")
2323

24-
find_package(Boost REQUIRED)
25-
2624
add_library(${PROJECT_NAME}
2725
${SRC}
2826
${INC})
2927

30-
target_compile_definitions(${PROJECT_NAME}
31-
PRIVATE
32-
BOOST_ALL_NO_LIB
33-
BOOST_JSON_NO_LIB)
34-
3528
target_include_directories(${PROJECT_NAME}
3629
PUBLIC
3730
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
38-
$<BUILD_INTERFACE:${Boost_INCLUDE_DIR}>
3931
$<INSTALL_INTERFACE:include>
4032
PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
4133
PRIVATE ${olp-cpp-sdk-core_INCLUDE_DIRS})

olp-cpp-sdk-dataservice-read/src/repositories/PartitionsRepository.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#include <olp/core/logging/Log.h>
2828
#include <boost/functional/hash.hpp>
2929
#include <boost/json/basic_parser_impl.hpp>
30-
#include <boost/json/src.hpp>
3130
#include "CatalogRepository.h"
3231
#include "generated/api/MetadataApi.h"
3332
#include "generated/api/QueryApi.h"

0 commit comments

Comments
 (0)