File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ Settings::~Settings() = default;
7979Settings::Settings (const Settings&) = default;
8080Settings & 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
8585std::string Settings::loadCppcheckCfg (Settings& settings, Suppressions& suppressions, bool debug)
8686{
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments