mirror of
https://github.com/zetaPRIME/libstarlight.git
synced 2025-06-26 05:32:46 +00:00
welp, that broke the forward declaration and I can't actually fix it
This commit is contained in:
parent
b541b73264
commit
7e600224e6
@ -1,31 +1,3 @@
|
||||
// okay, 2.1.x broke the forward declaration so here's a redirect until it gets proper fwd
|
||||
#pragma once
|
||||
|
||||
#ifndef NLOHMANN_JSON_FWD_HPP
|
||||
#define NLOHMANN_JSON_FWD_HPP
|
||||
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
|
||||
template <
|
||||
template<typename U, typename V, typename... Args> class ObjectType,
|
||||
template<typename U, typename... Args> class ArrayType,
|
||||
class StringType,
|
||||
class BooleanType,
|
||||
class NumberIntegerType,
|
||||
class NumberUnsignedType,
|
||||
class NumberFloatType,
|
||||
template<typename U> class AllocatorType
|
||||
>
|
||||
class basic_json;
|
||||
|
||||
using json = basic_json<std::map,std::vector,std::string,bool,std::int64_t,
|
||||
std::uint64_t,double,std::allocator>;
|
||||
|
||||
} // namespace nlohmann
|
||||
|
||||
#endif // NLOHMANN_JSON_FWD_HPP
|
||||
#include "json.hpp"
|
||||
|
35
libstarlight/source/starlight/_incLib/json_fwd.hpp.broken
Normal file
35
libstarlight/source/starlight/_incLib/json_fwd.hpp.broken
Normal file
@ -0,0 +1,35 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef NLOHMANN_JSON_FWD_HPP
|
||||
#define NLOHMANN_JSON_FWD_HPP
|
||||
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
|
||||
template <
|
||||
template<typename U, typename V, typename... Args> class ObjectType,
|
||||
template<typename U, typename... Args> class ArrayType,
|
||||
class StringType,
|
||||
class BooleanType,
|
||||
class NumberIntegerType,
|
||||
class NumberUnsignedType,
|
||||
class NumberFloatType,
|
||||
template<typename U> class AllocatorType,
|
||||
template<typename T, typename SFINAE = void> class JSONSerializer
|
||||
>
|
||||
class basic_json;
|
||||
|
||||
template<typename = void, typename = void>
|
||||
struct adl_serializer;
|
||||
|
||||
using json = basic_json<std::map,std::vector,std::string,bool,std::int64_t,
|
||||
std::uint64_t,double,std::allocator,adl_serializer>;
|
||||
|
||||
} // namespace nlohmann
|
||||
|
||||
#endif // NLOHMANN_JSON_FWD_HPP
|
Loading…
x
Reference in New Issue
Block a user