DAG: Fix preprocessor definition inconsistencies

This commit is contained in:
Stefan Tröger
2017-01-19 06:55:23 +01:00
committed by wmayer
parent 0e83976698
commit a1deaf8338
9 changed files with 45 additions and 37 deletions

View File

@@ -492,7 +492,7 @@ Py::List DocumentPy::getObjects(void) const
Py::List DocumentPy::getToplogicalSortedObjects(void) const
{
#if USE_OLD_DAG == 0
#ifndef USE_OLD_DAG
std::vector<DocumentObject*> objs = getDocumentPtr()->topologicalSort();
Py::List res;
@@ -508,7 +508,7 @@ Py::List DocumentPy::getToplogicalSortedObjects(void) const
Py::List DocumentPy::getRootObjects(void) const
{
#if USE_OLD_DAG == 0
#ifndef USE_OLD_DAG
std::vector<DocumentObject*> objs = getDocumentPtr()->getRootObjects();
Py::List res;