aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/query-const-expr.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-10-03 15:19:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-10-03 15:19:22 +0200
commit5c69154cf32d8b2c7c760222adccdce6e66acfd9 (patch)
tree2200abf82d15541a106979626ba12ef5a68e5c31 /odb/sqlite/query-const-expr.cxx
parent16aa8be08a69482d6208bdc9257facc13347a6cd (diff)
Work around bug in Sun CC1.6.01.6
Diffstat (limited to 'odb/sqlite/query-const-expr.cxx')
-rw-r--r--odb/sqlite/query-const-expr.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/odb/sqlite/query-const-expr.cxx b/odb/sqlite/query-const-expr.cxx
new file mode 100644
index 0000000..49c5a6c
--- /dev/null
+++ b/odb/sqlite/query-const-expr.cxx
@@ -0,0 +1,16 @@
+// file : odb/sqlite/query-const-expr.cxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#include <odb/sqlite/query.hxx>
+
+namespace odb
+{
+ namespace sqlite
+ {
+ // Sun CC cannot handle this in query.cxx.
+ //
+ const query query::true_expr (true);
+ }
+}