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
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:
parent
7f6f00c8f5
commit
89cdec08cb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user