summaryrefslogtreecommitdiff
path: root/src/query.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-07 14:30:10 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-07 14:30:34 -0600
commite7de77d8dfc764fd3764dc45d397d5f8454414be (patch)
treea32e7432203062d368e4663b437d51a7a3a8e36c /src/query.h
parent79a4919777b839238bbaf61f0fb6bdf58959e43b (diff)
downloadfork-ledger-e7de77d8dfc764fd3764dc45d397d5f8454414be.tar.gz
fork-ledger-e7de77d8dfc764fd3764dc45d397d5f8454414be.tar.bz2
fork-ledger-e7de77d8dfc764fd3764dc45d397d5f8454414be.zip
Added #if's for building optimized with Clang
Diffstat (limited to 'src/query.h')
-rw-r--r--src/query.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/query.h b/src/query.h
index 7286e89b..c694d099 100644
--- a/src/query.h
+++ b/src/query.h
@@ -186,7 +186,9 @@ public:
assert(false);
return "<UNKNOWN>";
}
+#if !defined(__clang__)
return "<ERROR>";
+#endif
}
void unexpected();