aboutsummaryrefslogtreecommitdiff
path: root/odb/generator.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-07-10 15:17:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-07-10 15:17:16 +0200
commitb8554760aa3a5c5697c77d11e507a2bb46dbf8e4 (patch)
tree3f2bcb28a59eb0d4cce4586acec4a8c639cde7e6 /odb/generator.cxx
parent1b64460a2b2c5411b6052cd4c4d8e8b0d46a4086 (diff)
Add support for custom database type mapping
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
Diffstat (limited to 'odb/generator.cxx')
-rw-r--r--odb/generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/generator.cxx b/odb/generator.cxx
index 2d787a1..690a375 100644
--- a/odb/generator.cxx
+++ b/odb/generator.cxx
@@ -522,7 +522,7 @@ generate (options const& ops,
//
throw failed ();
}
- catch (re::format const& e)
+ catch (regex_format const& e)
{
cerr << "error: invalid regex: '" << e.regex () << "': " <<
e.description () << endl;