App: include cstddef to get definition of size_t

This commit is contained in:
wmayer
2022-03-07 01:00:14 +01:00
parent cdff8e19dc
commit 4b0658a3a6
2 changed files with 4 additions and 3 deletions

View File

@@ -23,6 +23,8 @@
#ifndef APP_AUTOTRANSACTION_H
#define APP_AUTOTRANSACTION_H
#include <cstddef>
namespace App {
class Application;
@@ -31,7 +33,7 @@ class Application;
class AppExport AutoTransaction {
private:
/// Private new operator to prevent heap allocation
void* operator new(size_t size);
void* operator new(std::size_t size);
public:
/** Constructor
@@ -120,7 +122,7 @@ public:
private:
/// Private new operator to prevent heap allocation
void* operator new(size_t size);
void* operator new(std::size_t size);
private:
bool active;

View File

@@ -23,7 +23,6 @@
#ifndef GUI_VIEWPROVIDERPYTHONFEATURE_H
#define GUI_VIEWPROVIDERPYTHONFEATURE_H
#include <App/Application.h>
#include <App/AutoTransaction.h>
#include <App/PropertyPythonObject.h>
#include <App/FeaturePython.h>