From 52be1ef0d126f09ba943c7afcf367e7d9347f2fd Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 8 Nov 2012 22:58:28 +0000 Subject: tabconv: it's all spaces now. --- src/conditionfileexists.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/conditionfileexists.cpp') diff --git a/src/conditionfileexists.cpp b/src/conditionfileexists.cpp index 0585351..fd21716 100644 --- a/src/conditionfileexists.cpp +++ b/src/conditionfileexists.cpp @@ -10,7 +10,7 @@ using namespace Bu; #include PluginInterface3( pluginConditionFileExists, fileExists, ConditionFileExists, - Condition, "Mike Buland", 0, 1 ); + Condition, "Mike Buland", 0, 1 ); ConditionFileExists::ConditionFileExists() { @@ -22,20 +22,20 @@ ConditionFileExists::~ConditionFileExists() bool ConditionFileExists::shouldExec( class Runner &r, Target &rTarget ) { - for( StrList::const_iterator j = rTarget.getOutputList().begin(); j; j++ ) - { - // If any input exists, then return true, we should exec. - if( !access( (*j).getStr(), F_OK ) ) - { - return true; - } - } - - return false; + for( StrList::const_iterator j = rTarget.getOutputList().begin(); j; j++ ) + { + // If any input exists, then return true, we should exec. + if( !access( (*j).getStr(), F_OK ) ) + { + return true; + } + } + + return false; } Condition *ConditionFileExists::clone() { - return new ConditionFileExists(); + return new ConditionFileExists(); } -- cgit v1.2.3