⚗️ try minimal example

pull/2898/head
Niels Lohmann 2021-08-09 21:58:05 +02:00
parent 83c005f881
commit 36394cc262
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
1 changed files with 2 additions and 3 deletions

View File

@ -77,7 +77,6 @@ struct position_t
}
};
class exception : public std::exception
{
public:
@ -86,7 +85,7 @@ class exception : public std::exception
return m.what();
}
const int id;
const int id; // NOLINT(cppcoreguidelines-non-private-member-variables-in-classes)
protected:
exception(int id_, const char* what_arg) : id(id_), m(what_arg) {}
@ -123,7 +122,7 @@ class parse_error : public exception
}
};
} // namespace detail
} // namespace detail2
} // namespace nlohmann
//