[App] add a missing return statement (#6519)
* [App] add a missing return statement
as discussed here: c96f61b0a1 (commitcomment-68066635)
This commit is contained in:
@@ -31,7 +31,9 @@ class Application;
|
||||
class AppExport AutoTransaction {
|
||||
private:
|
||||
/// Private new operator to prevent heap allocation
|
||||
void* operator new(size_t size);
|
||||
void* operator new(size_t size) {
|
||||
return nullptr;
|
||||
};
|
||||
|
||||
public:
|
||||
/** Constructor
|
||||
@@ -120,7 +122,9 @@ public:
|
||||
|
||||
private:
|
||||
/// Private new operator to prevent heap allocation
|
||||
void* operator new(size_t size);
|
||||
void* operator new(size_t size) {
|
||||
return nullptr;
|
||||
};
|
||||
|
||||
private:
|
||||
bool active;
|
||||
|
||||
Reference in New Issue
Block a user