aboutsummaryrefslogtreecommitdiff
path: root/libbrep/build.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-06-09 16:25:20 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-06-14 17:51:00 +0300
commitda701337ca32a54682a0daddcd2ab85a2f886a18 (patch)
treedb1c7cbbc6b64c4daf0d21c711ebb7583b98a765 /libbrep/build.cxx
parent6afd16cfb93ca1cf943b7f304bf4b1ab781179b6 (diff)
Get rid of package configuration unbuilt state
Diffstat (limited to 'libbrep/build.cxx')
-rw-r--r--libbrep/build.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/libbrep/build.cxx b/libbrep/build.cxx
index 0941c5f..78a3a2d 100644
--- a/libbrep/build.cxx
+++ b/libbrep/build.cxx
@@ -13,7 +13,6 @@ namespace brep
{
switch (s)
{
- case build_state::unbuilt: return "unbuilt";
case build_state::building: return "building";
case build_state::built: return "built";
}
@@ -24,8 +23,7 @@ namespace brep
build_state
to_build_state (const string& s)
{
- if (s == "unbuilt") return build_state::unbuilt;
- else if (s == "building") return build_state::building;
+ if (s == "building") return build_state::building;
else if (s == "built") return build_state::built;
else throw invalid_argument ("invalid build state '" + s + "'");
}