modernize C++: use noexcept

This commit is contained in:
wmayer
2023-08-07 11:00:14 +02:00
committed by wwmayer
parent df93b14ec0
commit 31ed14db83
8 changed files with 55 additions and 53 deletions

View File

@@ -59,7 +59,8 @@
#include "Utils.h"
#include "ViewProviderSketch.h"
// Hint: this is to prevent to re-format big parts of the file. Remove it later again.
// clang-format off
using namespace std;
using namespace SketcherGui;
using namespace Part;
@@ -83,7 +84,7 @@ public:
this->setMessage(ErrMsg);
}
~ExceptionWrongInput() throw() override
~ExceptionWrongInput() noexcept override
{}
QString ErrMsg;
@@ -1848,3 +1849,4 @@ void CreateSketcherCommands()
rcCmdMgr.addCommand(new CmdSketcherSnap());
rcCmdMgr.addCommand(new CmdRenderingOrder());
}
// clang-format on