Skip to content

Commit aef40c8

Browse files
committed
Merge pull request #494 from cchampet/fix_hostGraphDotInRelease
Host: in release mode, do not generate "*.dot" file during the process
2 parents 572024c + 0c37baa commit aef40c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/tuttle/src/tuttle/host/Graph.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,10 +368,10 @@ bool Graph::compute( memory::IMemoryCache& memoryCache, const NodeListArg& nodes
368368
bool Graph::compute( memory::IMemoryCache& memoryCache, const NodeListArg& nodes,
369369
const ComputeOptions& options, memory::IMemoryCache& internMemoryCache )
370370
{
371-
#ifdef TUTTLE_EXPORT_PROCESSGRAPH_DOT
371+
#if(TUTTLE_EXPORT_PROCESSGRAPH_DOT)
372372
graph::exportAsDOT( "graph.dot", _graph );
373373
#endif
374-
374+
375375
graph::ProcessGraph procGraph( options, *this, nodes.getNodes(), internMemoryCache );
376376
return procGraph.process( memoryCache );
377377
}

0 commit comments

Comments
 (0)