aboutsummaryrefslogtreecommitdiff
path: root/src/variable.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-11-06 08:16:41 +0000
committerMike Buland <eichlan@xagasoft.com>2012-11-06 08:16:41 +0000
commit1331c762c05643d7a4fcd4abeb951ed814cea47d (patch)
tree5d15e3c9b47517f86b472a3d93c025b0ff1a84b6 /src/variable.h
parent9d507ea353a92ca51e7a9d7ae5c82d3aa35c04d1 (diff)
downloadbuild-1331c762c05643d7a4fcd4abeb951ed814cea47d.tar.gz
build-1331c762c05643d7a4fcd4abeb951ed814cea47d.tar.bz2
build-1331c762c05643d7a4fcd4abeb951ed814cea47d.tar.xz
build-1331c762c05643d7a4fcd4abeb951ed814cea47d.zip
Slightly optimized list operations, and added list subtraction. If you subtract
any item from a list it will remove one matching item from the source list for each item in the subtracted list.
Diffstat (limited to '')
-rw-r--r--src/variable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/variable.h b/src/variable.h
index 241393e..890552a 100644
--- a/src/variable.h
+++ b/src/variable.h
@@ -123,4 +123,6 @@ Bu::Formatter &operator<<( Bu::Formatter &f, const Variable &v );
123Bu::ArchiveBase &operator<<( Bu::ArchiveBase &ar, const Variable &v ); 123Bu::ArchiveBase &operator<<( Bu::ArchiveBase &ar, const Variable &v );
124Bu::ArchiveBase &operator>>( Bu::ArchiveBase &ar, Variable &v ); 124Bu::ArchiveBase &operator>>( Bu::ArchiveBase &ar, Variable &v );
125 125
126VarList operator-( const VarList &rBase, const VarList &rSub );
127
126#endif 128#endif