]> git.tdb.fi Git - builder.git/blobdiff - source/virtualtarget.cpp
Reorder class members
[builder.git] / source / virtualtarget.cpp
index 9b41a80a667f7b872b7031a723d52f0a7aedba41..b2a0d1cfd4a0f90a58e7eb29b0c97aefa63c2233 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of builder
-Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2006-200 Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
@@ -12,20 +12,16 @@ Distributed under the LGPL
 using namespace std;
 using namespace Msp;
 
-/**
-Virtual targets are only rebuilt if their dependencies need rebuilding.
-*/
 void VirtualTarget::check_rebuild()
 {
+       // Virtual targets are only rebuilt if their dependencies need rebuilding.
        for(TargetList::iterator i=depends.begin(); (i!=depends.end() && !rebuild); ++i)
                if((*i)->get_rebuild())
                        mark_rebuild(FS::basename((*i)->get_name())+" needs rebuilding");
 }
 
-/**
-Don't count virtual targets since "building" them causes no action.
-*/
 unsigned VirtualTarget::count_rebuild()
 {
+       // Don't count virtual targets since "building" them causes no action.
        return Target::count_rebuild()-rebuild;
 }