[App] next attempt to fix CI build error
- revert previous commit and re-add application as header
This commit is contained in:
@@ -30,18 +30,13 @@
|
||||
#include "Transactions.h"
|
||||
|
||||
|
||||
FC_LOG_LEVEL_INIT("App",true,true)
|
||||
FC_LOG_LEVEL_INIT("App", true, true)
|
||||
|
||||
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) {
|
||||
@@ -245,8 +240,3 @@ bool TransactionLocker::isLocked() {
|
||||
return _TransactionLock > 0;
|
||||
}
|
||||
|
||||
void* App::TransactionLocker::operator new(size_t size)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#ifndef GUI_VIEWPROVIDERPYTHONFEATURE_H
|
||||
#define GUI_VIEWPROVIDERPYTHONFEATURE_H
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <App/AutoTransaction.h>
|
||||
#include <App/PropertyPythonObject.h>
|
||||
#include <App/FeaturePython.h>
|
||||
|
||||
Reference in New Issue
Block a user