2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

[2726] Really do suppress this warning

Put it so cppcheck finds it.
This commit is contained in:
Michal 'vorner' Vaner 2013-06-13 10:51:19 +02:00
parent 21034c5291
commit 0f00c3880a

View File

@ -309,9 +309,8 @@ private:
/// @tparam data type to be validated. /// @tparam data type to be validated.
/// ///
/// @throw isc::dhcp::InvalidDataType if the type is invalid. /// @throw isc::dhcp::InvalidDataType if the type is invalid.
//cppcheck-suppress unusedPrivateFunction It's used, confusion because of
//templates
template<typename T> template<typename T>
// cppcheck-suppress unusedPrivateFunction
void checkDataType(const uint32_t index) const; void checkDataType(const uint32_t index) const;
/// @brief Check if data field index is valid. /// @brief Check if data field index is valid.