[App] try to fix CI build failure
- since I have no clue what the error is about: https://gitlab.com/freecad/FreeCAD-CI/-/jobs/2167699355 I follow MSVC's advice that tells me that a function definition in the .cpp file is missing
This commit is contained in:
@@ -37,6 +37,11 @@ using namespace App;
|
||||
static int _TransactionLock;
|
||||
static int _TransactionClosed;
|
||||
|
||||
void* App::AutoTransaction::operator new(size_t size)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
AutoTransaction::AutoTransaction(const char *name, bool tmpName) {
|
||||
auto &app = GetApplication();
|
||||
if(name && app._activeTransactionGuard>=0) {
|
||||
@@ -240,4 +245,8 @@ bool TransactionLocker::isLocked() {
|
||||
return _TransactionLock > 0;
|
||||
}
|
||||
|
||||
void* App::TransactionLocker::operator new(size_t size)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user