aboutsummaryrefslogtreecommitdiff
path: root/odb/schema-catalog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/schema-catalog.cxx')
-rw-r--r--odb/schema-catalog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/schema-catalog.cxx b/odb/schema-catalog.cxx
index b767bca..946884f 100644
--- a/odb/schema-catalog.cxx
+++ b/odb/schema-catalog.cxx
@@ -227,7 +227,7 @@ namespace odb
else
{
typedef void (*caller) (const void*, database&);
- reinterpret_cast<caller> (m.function) (m.std_function, db);
+ m.cast<caller> () (m.std_function, db);
}
r++;
}