aboutsummaryrefslogtreecommitdiff
path: root/libbrep/build.cxx
diff options
context:
space:
mode:
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 + "'");
}