summaryrefslogtreecommitdiff
path: root/src/web_service/json.h
diff options
context:
space:
mode:
authorGravatar fearlessTobi2018-09-19 20:04:45 +0200
committerGravatar fearlessTobi2018-10-02 15:30:48 +0200
commitaa484688623db59df3ef334a63eff98d98e362f3 (patch)
tree23c2ccdbe5e562e281e1e96d306036f724856461 /src/web_service/json.h
parentweb_backend: protect jwt cache with a mutex (diff)
downloadyuzu-aa484688623db59df3ef334a63eff98d98e362f3.tar.gz
yuzu-aa484688623db59df3ef334a63eff98d98e362f3.tar.xz
yuzu-aa484688623db59df3ef334a63eff98d98e362f3.zip
Review comments - part 3
Diffstat (limited to 'src/web_service/json.h')
-rw-r--r--src/web_service/json.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/web_service/json.h b/src/web_service/json.h
deleted file mode 100644
index 88b31501e..000000000
--- a/src/web_service/json.h
+++ /dev/null
@@ -1,18 +0,0 @@
1// Copyright 2018 Citra Emulator Project
2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included.
4
5#pragma once
6
7// This hack is needed to support json.hpp on platforms where the C++17 stdlib
8// lacks std::string_view. See https://github.com/nlohmann/json/issues/735.
9// clang-format off
10#if !__has_include(<string_view>) && __has_include(<experimental/string_view>)
11# include <experimental/string_view>
12# define string_view experimental::string_view
13# include <json.hpp>
14# undef string_view
15#else
16# include <json.hpp>
17#endif
18// clang-format on