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:
parent
8e4751f6f7
commit
2659e37831
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#include "json-patch.hpp"
|
#include "json-patch.hpp"
|
||||||
|
|
||||||
#include <nlohmann/json-schema.hpp>
|
#include "nlohmann/json-schema.hpp"
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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>
|
||||||
|
|
||||||
|
|||||||
@ -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"
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#include <nlohmann/json-schema.hpp>
|
#include "nlohmann/json-schema.hpp"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <exception>
|
#include <exception>
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#include <nlohmann/json-schema.hpp>
|
#include "nlohmann/json-schema.hpp"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|||||||
@ -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>
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#include <nlohmann/json-schema.hpp>
|
#include "nlohmann/json-schema.hpp"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#include <nlohmann/json-schema.hpp>
|
#include "nlohmann/json-schema.hpp"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#include <nlohmann/json-schema.hpp>
|
#include "nlohmann/json-schema.hpp"
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#include <nlohmann/json-schema.hpp>
|
#include "nlohmann/json-schema.hpp"
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <nlohmann/json-schema.hpp>
|
#include "nlohmann/json-schema.hpp"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user