Skip to content

Commit 1e025aa

Browse files
committed
🚨 fix warnings
1 parent d069489 commit 1e025aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/thirdparty/fifo_map/fifo_map.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ template <
393393
}
394394

395395
/// swaps the contents
396-
void swap(fifo_map& other)
396+
void swap(fifo_map& other) // NOLINT(cppcoreguidelines-noexcept-swap,performance-noexcept-swap)
397397
{
398398
std::swap(m_map, other.m_map);
399399
std::swap(m_compare, other.m_compare);
@@ -520,7 +520,7 @@ template <
520520
namespace std // NOLINT(cert-dcl58-cpp,-warnings-as-errors)
521521
{
522522
template <class Key, class T, class Compare, class Allocator>
523-
inline void swap(nlohmann::fifo_map<Key, T, Compare, Allocator>& m1, // NOLINT(cert-dcl58-cpp)
523+
inline void swap(nlohmann::fifo_map<Key, T, Compare, Allocator>& m1, // NOLINT(cert-dcl58-cpp,cppcoreguidelines-noexcept-swap,performance-noexcept-swap)
524524
nlohmann::fifo_map<Key, T, Compare, Allocator>& m2)
525525
{
526526
m1.swap(m2);

0 commit comments

Comments
 (0)