DAG: Fix preprocessor definition inconsistencies

This commit is contained in:
Stefan Tröger
2017-01-21 19:15:36 +01:00
committed by wmayer
parent d9adc9cd6c
commit 4f8e046f7f
9 changed files with 45 additions and 37 deletions
+2 -2
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;