fix: <nlohmann/json-schema.hpp> -> "nlohmann/json-schema.hpp"

Follow the c++ standard, the compiler will ignore local directories
when it searches files include with angle-brackets.
This commit is contained in:
dhmemi 2022-06-06 10:53:19 +08:00
parent 8e4751f6f7
commit 2659e37831
20 changed files with 20 additions and 20 deletions

View File

@ -161,7 +161,7 @@ See also `app/json-schema-validate.cpp`.
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
using nlohmann::json; using nlohmann::json;
using nlohmann::json_schema::json_validator; using nlohmann::json_schema::json_validator;

View File

@ -1,6 +1,6 @@
#include <iostream> #include <iostream>
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
using nlohmann::json; using nlohmann::json;
using nlohmann::json_schema::json_validator; using nlohmann::json_schema::json_validator;

View File

@ -6,7 +6,7 @@
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
#include <fstream> #include <fstream>
#include <iostream> #include <iostream>

View File

@ -1,7 +1,7 @@
#include <iomanip> #include <iomanip>
#include <iostream> #include <iostream>
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
using nlohmann::json; using nlohmann::json;
using nlohmann::json_schema::json_validator; using nlohmann::json_schema::json_validator;

View File

@ -1,6 +1,6 @@
#include "json-patch.hpp" #include "json-patch.hpp"
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
namespace namespace
{ {

View File

@ -6,7 +6,7 @@
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
#include <sstream> #include <sstream>

View File

@ -6,7 +6,7 @@
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
#include "json-patch.hpp" #include "json-patch.hpp"

View File

@ -1,4 +1,4 @@
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
#include <algorithm> #include <algorithm>
#include <exception> #include <exception>

View File

@ -6,7 +6,7 @@
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
*/ */
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
#include <fstream> #include <fstream>
#include <iostream> #include <iostream>

View File

@ -1,7 +1,7 @@
// bson-validate.cpp // bson-validate.cpp
#include <iostream> #include <iostream>
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
#include <nlohmann/json.hpp> #include <nlohmann/json.hpp>
static int error_count = 0; static int error_count = 0;

View File

@ -1,4 +1,4 @@
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
#include <iostream> #include <iostream>

View File

@ -1,6 +1,6 @@
#include <nlohmann/json.hpp> #include <nlohmann/json.hpp>
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
#include <iostream> #include <iostream>

View File

@ -1,4 +1,4 @@
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
#include <iostream> #include <iostream>

View File

@ -1,5 +1,5 @@
#include <iostream> #include <iostream>
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
using nlohmann::json; using nlohmann::json;
using nlohmann::json_schema::json_validator; using nlohmann::json_schema::json_validator;

View File

@ -1,4 +1,4 @@
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
#include <iostream> #include <iostream>

View File

@ -1,4 +1,4 @@
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
using nlohmann::json; using nlohmann::json;
using nlohmann::json_schema::json_validator; using nlohmann::json_schema::json_validator;

View File

@ -1,4 +1,4 @@
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
#include <fstream> #include <fstream>
#include <iostream> #include <iostream>

View File

@ -1,4 +1,4 @@
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
int main(void) int main(void)
{ {

View File

@ -1,6 +1,6 @@
#include <iostream> #include <iostream>
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
/** @return number of failed tests */ /** @return number of failed tests */
size_t size_t

View File

@ -7,7 +7,7 @@
* *
*/ */
#include <cstdlib> #include <cstdlib>
#include <nlohmann/json-schema.hpp> #include "nlohmann/json-schema.hpp"
#include <iostream> #include <iostream>