aboutsummaryrefslogtreecommitdiff
path: root/mysql
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-08-04 13:29:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-08-04 13:29:43 +0200
commit18ef14486e46064f4317ab407c5fe0afa3209d4b (patch)
treef70e9fb4a7d492197dca3f1fcbf05ffdf308af1a /mysql
parent84b6d8488a2415c1c6c91b2234993497ab8f792b (diff)
Add support for value wrappers
Wrapper is a class that wraps another type. Examples of wrappers are various smart pointers, holders, etc. A wrapper can be transparent or it can handle the NULL semantics. The new odb::nullable class template is a NULL wrapper that helps to add the NULL semantics to a value type. New test: common/wrapper.
Diffstat (limited to 'mysql')
-rw-r--r--mysql/types/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql/types/makefile b/mysql/types/makefile
index 4114128..2b17653 100644
--- a/mysql/types/makefile
+++ b/mysql/types/makefile
@@ -36,7 +36,7 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
$(gen) $(dist): export odb_options += --database mysql --generate-schema \
---generate-query --cxx-prologue '\#include "traits.hxx"'
+--generate-query --hxx-prologue '\#include "traits.hxx"'
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)