aboutsummaryrefslogtreecommitdiff
path: root/build2/name
diff options
context:
space:
mode:
Diffstat (limited to 'build2/name')
-rw-r--r--build2/name3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/name b/build2/name
index d0a115f..68fe9c7 100644
--- a/build2/name
+++ b/build2/name
@@ -33,7 +33,8 @@ namespace build2
dir_path dir;
string type;
string value;
- bool pair = false; // True if first half of a pair.
+ char pair = '\0'; // Pair character if first half of a pair. Can be used
+ // as bool.
name () = default;