We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e87f8d7 commit 9933641Copy full SHA for 9933641
1 file changed
lib/utils.h
@@ -437,7 +437,7 @@ namespace utils {
437
* @param t The function forms the lvalue reference to const type of this argument.
438
*/
439
template<class T>
440
-// cppcheck-suppress constParameterReference
+// cppcheck-suppress [constParameterReference, unmatchedSuppression]
441
constexpr typename std::add_const<T>::type& as_const(T& t) noexcept
442
{
443
static_assert(!std::is_const<T>::value, "object is already const");
0 commit comments