summaryrefslogtreecommitdiffstats
path: root/build2/cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-07-21 15:39:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-07-21 15:39:52 +0200
commitc1d08dbc56d0c8d3346deaba5d6b1946b6d711f4 (patch)
treede85880067c80e56d83de8e3902d95f2c2f9d7c5 /build2/cxx
parent01fe759b58fbde7f8c7391122421dd08c754dc51 (diff)
downloadbuild2-c1d08dbc56d0c8d3346deaba5d6b1946b6d711f4.tar.gz
build2-c1d08dbc56d0c8d3346deaba5d6b1946b6d711f4.tar.xz
build2-c1d08dbc56d0c8d3346deaba5d6b1946b6d711f4.zip
Save config vars in order specified rather than alphabetically
This way we can group them semantically which results in easier to understand config.build output.
Diffstat (limited to 'build2/cxx')
-rw-r--r--build2/cxx/compile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cxx/compile.cxx b/build2/cxx/compile.cxx
index 432b4856..300fad76 100644
--- a/build2/cxx/compile.cxx
+++ b/build2/cxx/compile.cxx
@@ -851,7 +851,7 @@ namespace build2
i = pm.upper_bound (d);
// Get the greatest less than, if any. We might still not be a
- // sub. Note also that we still have to check the last element is
+ // sub. Note also that we still have to check the last element if
// upper_bound() returned end().
//
if (i == pm.begin () || !d.sub ((--i)->first))