summaryrefslogtreecommitdiffhomepage
path: root/serialize/string.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-07 11:21:27 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-07 11:21:27 +0100
commit94ebd2816ed1cbf08334573175d2ed1dec18f962 (patch)
tree5f653ea2b204414de138c81a321169a236e1144a /serialize/string.hpp
parentbdbf5534c58aa5649751d0e239f13bd22f9de158 (diff)
fix use after free
Diffstat (limited to 'serialize/string.hpp')
-rw-r--r--serialize/string.hpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/serialize/string.hpp b/serialize/string.hpp
deleted file mode 100644
index 66e448a4..00000000
--- a/serialize/string.hpp
+++ /dev/null
@@ -1,27 +0,0 @@
-#pragma once
-
-#include <nlohmann/json_fwd.hpp>
-
-namespace Corrade::Containers {
-
-template<typename T> class BasicStringView;
-class String;
-using StringView = BasicStringView<const char>;
-
-} // namespace Corrade::Containers
-
-namespace nlohmann {
-
-template<>
-struct adl_serializer<Corrade::Containers::String> {
- static void to_json(json& j, const Corrade::Containers::String& val);
- static void from_json(const json& j, Corrade::Containers::String& val);
-};
-
-template<>
-struct adl_serializer<Corrade::Containers::StringView> {
- static void to_json(json& j, const Corrade::Containers::StringView& val);
- static void from_json(const json& j, Corrade::Containers::StringView& val);
-};
-
-} // namespace nlohmann