aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/lazy-ptr-impl.cxx12
-rw-r--r--odb/makefile11
2 files changed, 18 insertions, 5 deletions
diff --git a/odb/lazy-ptr-impl.cxx b/odb/lazy-ptr-impl.cxx
new file mode 100644
index 0000000..b149586
--- /dev/null
+++ b/odb/lazy-ptr-impl.cxx
@@ -0,0 +1,12 @@
+// file : odb/lazy-ptr-impl.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/lazy-ptr-impl.hxx>
+
+namespace odb
+{
+ // This otherwise unnecessary file is here to allow instantiation
+ // of inline functions for exporting.
+}
diff --git a/odb/makefile b/odb/makefile
index 4beeda0..caa54d4 100644
--- a/odb/makefile
+++ b/odb/makefile
@@ -5,11 +5,12 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make
-cxx := \
-exceptions.cxx \
-database.cxx \
-session.cxx \
-transaction.cxx
+cxx := \
+exceptions.cxx \
+database.cxx \
+session.cxx \
+transaction.cxx \
+lazy-ptr-impl.cxx
# Implementation details.
#