Parcourir la source

[2726] Really do suppress this warning

Put it so cppcheck finds it.
Michal 'vorner' Vaner il y a 12 ans
Parent
commit
0f00c3880a
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      src/lib/dhcp/option_custom.h

+ 1 - 2
src/lib/dhcp/option_custom.h

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