[App] AutoTransaction: a change to silence MSVC compiler

as proposed here: https://github.com/FreeCAD/FreeCAD/pull/6519#discussion_r820641762
This commit is contained in:
Uwe
2022-03-07 13:57:01 +01:00
committed by wwmayer
parent 8f786ea6ef
commit 7d1a64e1c1

View File

@@ -33,7 +33,7 @@ class Application;
class AppExport AutoTransaction {
private:
/// Private new operator to prevent heap allocation
void* operator new(std::size_t size);
void* operator new (std::size_t) = delete;
public:
/** Constructor
@@ -122,7 +122,7 @@ public:
private:
/// Private new operator to prevent heap allocation
void* operator new(std::size_t size);
void* operator new (std::size_t) = delete;
private:
bool active;