diff --git a/src/App/AutoTransaction.h b/src/App/AutoTransaction.h index 47ce37c4f9..00a02d8729 100644 --- a/src/App/AutoTransaction.h +++ b/src/App/AutoTransaction.h @@ -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;