Skip to content

Commit 679ada0

Browse files
committed
rename
1 parent 7916620 commit 679ada0

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/settings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ Settings::~Settings() = default;
7979
Settings::Settings(const Settings&) = default;
8080
Settings & Settings::operator=(const Settings &) = default;
8181

82-
Settings::Settings(Settings&&) NOEXCEPT = default;
83-
Settings & Settings::operator=(Settings &&) NOEXCEPT = default;
82+
Settings::Settings(Settings&&) CPPCHECK_NOEXCEPT = default;
83+
Settings & Settings::operator=(Settings &&) CPPCHECK_NOEXCEPT = default;
8484

8585
std::string Settings::loadCppcheckCfg(Settings& settings, Suppressions& suppressions, bool debug)
8686
{

lib/settings.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ class SimpleEnableGroup {
100100
// seen on:
101101
// oraclelinux:8, g++-8.5
102102
// ubuntu:20.04, g++-9.4.0
103-
#define NOEXCEPT
103+
#define CPPCHECK_NOEXCEPT
104104
#else
105-
#define NOEXCEPT noexcept
105+
#define CPPCHECK_NOEXCEPT noexcept
106106
#endif
107107

108108

@@ -125,8 +125,8 @@ class CPPCHECKLIB WARN_UNUSED Settings {
125125
Settings(const Settings&);
126126
Settings& operator=(const Settings&);
127127

128-
Settings(Settings&&) NOEXCEPT;
129-
Settings& operator=(Settings&&) NOEXCEPT;
128+
Settings(Settings&&) CPPCHECK_NOEXCEPT;
129+
Settings& operator=(Settings&&) CPPCHECK_NOEXCEPT;
130130

131131
static std::string loadCppcheckCfg(Settings& settings, Suppressions& suppressions, bool debug = false);
132132

0 commit comments

Comments
 (0)