aboutsummaryrefslogtreecommitdiff
path: root/odb/database.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/database.cxx')
-rw-r--r--odb/database.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/database.cxx b/odb/database.cxx
index 7dd540f..f9e1043 100644
--- a/odb/database.cxx
+++ b/odb/database.cxx
@@ -67,7 +67,7 @@ namespace odb
else
{
typedef void (*caller) (const void*, const char*, connection_type&);
- reinterpret_cast<caller> (fw.function) (fw.std_function, name, c);
+ fw.cast<caller> () (fw.std_function, name, c);
}
return true;