From 5c69154cf32d8b2c7c760222adccdce6e66acfd9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 Oct 2011 15:19:22 +0200 Subject: Work around bug in Sun CC --- odb/sqlite/query-const-expr.cxx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 odb/sqlite/query-const-expr.cxx (limited to 'odb/sqlite/query-const-expr.cxx') 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 +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#include + +namespace odb +{ + namespace sqlite + { + // Sun CC cannot handle this in query.cxx. + // + const query query::true_expr (true); + } +} -- cgit v1.1