Skip to content

Commit 9933641

Browse files
author
Your Name
committed
Suppress unmatchedSuppression
1 parent e87f8d7 commit 9933641

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ namespace utils {
437437
* @param t The function forms the lvalue reference to const type of this argument.
438438
*/
439439
template<class T>
440-
// cppcheck-suppress constParameterReference
440+
// cppcheck-suppress [constParameterReference, unmatchedSuppression]
441441
constexpr typename std::add_const<T>::type& as_const(T& t) noexcept
442442
{
443443
static_assert(!std::is_const<T>::value, "object is already const");

0 commit comments

Comments
 (0)