Skip to content

Commit

Permalink
Update valijson to 1.0.3 (#6729)
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou authored Jan 7, 2025
1 parent 21197eb commit 3816a23
Show file tree
Hide file tree
Showing 32 changed files with 2,824 additions and 435 deletions.
12 changes: 8 additions & 4 deletions 3rdparty/internal/valijson/adapters/boost_json_adapter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@

#include <boost/json.hpp>

#include <valijson/adapters/adapter.hpp>
#include <valijson/adapters/basic_adapter.hpp>
#include <valijson/adapters/frozen_value.hpp>
#include <valijson/internal/adapter.hpp>
#include <valijson/internal/basic_adapter.hpp>
#include <valijson/internal/frozen_value.hpp>

namespace valijson {
namespace adapters {
Expand Down Expand Up @@ -485,12 +485,16 @@ class BoostJsonAdapter:
{
public:

// deleted to avoid holding references to temporaries
BoostJsonAdapter(boost::json::array &) = delete;
BoostJsonAdapter(boost::json::object &) = delete;

/// Construct a BoostJsonAdapter that contains an empty object
BoostJsonAdapter()
: BasicAdapter() { }

/// Construct a BoostJsonAdapter using a specific Boost.JSON value
BoostJsonAdapter(const boost::json::value &value)
explicit BoostJsonAdapter(const boost::json::value &value)
: BasicAdapter(value) { }
};

Expand Down
6 changes: 3 additions & 3 deletions 3rdparty/internal/valijson/adapters/json11_adapter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
#include <string>
#include <json11.hpp>

#include <valijson/adapters/adapter.hpp>
#include <valijson/adapters/basic_adapter.hpp>
#include <valijson/adapters/frozen_value.hpp>
#include <valijson/internal/adapter.hpp>
#include <valijson/internal/basic_adapter.hpp>
#include <valijson/internal/frozen_value.hpp>
#include <valijson/exceptions.hpp>

namespace valijson {
Expand Down
6 changes: 3 additions & 3 deletions 3rdparty/internal/valijson/adapters/jsoncpp_adapter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@

#include <json/json.h>

#include <valijson/adapters/adapter.hpp>
#include <valijson/adapters/basic_adapter.hpp>
#include <valijson/adapters/frozen_value.hpp>
#include <valijson/internal/adapter.hpp>
#include <valijson/internal/basic_adapter.hpp>
#include <valijson/internal/frozen_value.hpp>
#include <valijson/exceptions.hpp>

namespace valijson {
Expand Down
Loading

0 comments on commit 3816a23

Please sign in to comment.