feat replace string_view by const string&
Some checks failed
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m1s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m2s
linux-x64-gcc / linux-gcc (push) Failing after 1m0s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m8s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m8s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m15s
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 2m39s

This commit is contained in:
tqcq 2024-01-05 09:54:31 +08:00
parent 7f6f00c8f5
commit 89cdec08cb

View File

@ -27,6 +27,11 @@ SOFTWARE.
#include <nlohmann/json.hpp>
namespace inja {
#if __cplusplus < 201703L
using string_view = const std::string &;
#endif
#ifndef INJA_DATA_TYPE
using json = nlohmann::json;
#else