[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user