mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
Add inline namespace
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include <toml11/serializer.hpp>
|
||||
#include <toml11/types.hpp>
|
||||
#include <toml11/version.hpp>
|
||||
|
||||
#if ! defined(TOML11_COMPILE_SOURCES)
|
||||
#error "Define `TOML11_COMPILE_SOURCES` before compiling source code!"
|
||||
@@ -7,6 +8,8 @@
|
||||
|
||||
namespace toml
|
||||
{
|
||||
inline namespace TOML11_INLINE_VERSION_NAMESPACE
|
||||
{
|
||||
struct type_config;
|
||||
struct ordered_type_config;
|
||||
|
||||
@@ -37,4 +40,5 @@ namespace detail
|
||||
template class serializer<::toml::type_config>;
|
||||
template class serializer<::toml::ordered_type_config>;
|
||||
} // detail
|
||||
} // TOML11_INLINE_VERSION_NAMESPACE
|
||||
} // toml
|
||||
|
||||
Reference in New Issue
Block a user