File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3406,7 +3406,7 @@ NLOHMANN_JSON_NAMESPACE_END
3406
3406
template<typename U> class AllocatorType = std::allocator,
3407
3407
template<typename T, typename SFINAE = void> class JSONSerializer =
3408
3408
adl_serializer,
3409
- class BinaryType = std::vector<std::uint8_t>,
3409
+ class BinaryType = std::vector<std::uint8_t>, // cppcheck-suppress syntaxError
3410
3410
class CustomBaseClass = void>
3411
3411
class basic_json;
3412
3412
@@ -4251,6 +4251,7 @@ inline std::size_t concat_length(const char /*c*/, const Args& ... rest)
4251
4251
template<typename... Args>
4252
4252
inline std::size_t concat_length(const char* cstr, const Args& ... rest)
4253
4253
{
4254
+ // cppcheck-suppress ignoredReturnValue
4254
4255
return ::strlen(cstr) + concat_length(rest...);
4255
4256
}
4256
4257
@@ -19990,6 +19991,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
19990
19991
#if JSON_DIAGNOSTICS
19991
19992
JSON_TRY
19992
19993
{
19994
+ // cppcheck-suppress assertWithSideEffect
19993
19995
JSON_ASSERT(!check_parents || !is_structured() || std::all_of(begin(), end(), [this](const basic_json & j)
19994
19996
{
19995
19997
return j.m_parent == this;
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ namespace pcpp
217
217
// / GTPv2 protocol
218
218
const ProtocolType GTPv2 = 57 ;
219
219
220
- // / Diagnostic over IP protocol (DOIP)
220
+ // / Diagnostic over IP protocol (DOIP)
221
221
const ProtocolType DOIP = 58 ;
222
222
223
223
// / An enum representing OSI model layers
You can’t perform that action at this time.
0 commit comments