Skip to content

Commit

Permalink
move serialization headers to detail folder
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed Oct 24, 2024
1 parent f9cdb11 commit 3c00c84
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>
#include <tl/expected.hpp>

#include <boost/core/ignore_unused.hpp>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>
#include <launchdarkly/value.hpp>

#include <boost/json/fwd.hpp>
Expand Down
1 change: 0 additions & 1 deletion libs/common/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ file(GLOB HEADER_LIST CONFIGURE_DEPENDS
"${LaunchDarklyCommonSdk_SOURCE_DIR}/include/launchdarkly/logging/*.hpp"
"${LaunchDarklyCommonSdk_SOURCE_DIR}/include/launchdarkly/data_sources/*.hpp"
"${LaunchDarklyCommonSdk_SOURCE_DIR}/include/launchdarkly/data_sources/persistence/*.hpp"
"${LaunchDarklyCommonSdk_SOURCE_DIR}/include/launchdarkly/data_sources/serialization/*.hpp"
)

# Automatic library: static or dynamic based on user config.
Expand Down
2 changes: 1 addition & 1 deletion libs/common/src/serialization/json_errors.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>

namespace launchdarkly {

Expand Down
4 changes: 2 additions & 2 deletions libs/common/src/serialization/json_value.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <launchdarkly/detail/unreachable.hpp>

Check notice on line 1 in libs/common/src/serialization/json_value.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

Run clang-format on libs/common/src/serialization/json_value.cpp

File libs/common/src/serialization/json_value.cpp does not conform to Custom style guidelines. (lines 1)
#include <launchdarkly/serialization/json_primitives.hpp>
#include <launchdarkly/serialization/json_value.hpp>
#include <launchdarkly/detail/serialization/json_primitives.hpp>
#include <launchdarkly/detail/serialization/json_value.hpp>

#include <boost/json.hpp>

Expand Down

0 comments on commit 3c00c84

Please sign in to comment.