diff options
Diffstat (limited to 'odb/plugin.cxx')
-rw-r--r-- | odb/plugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/plugin.cxx b/odb/plugin.cxx index 1d73b7f..c5dcc89 100644 --- a/odb/plugin.cxx +++ b/odb/plugin.cxx @@ -268,7 +268,7 @@ plugin_init (plugin_name_args* plugin_info, plugin_gcc_version*) cli::argv_file_scanner scan (argc, &argv[0], oi, 3); options ops (scan); assert (ops.database_specified ()); - db = ops.database (); + db = ops.database ()[0]; } profile_data pd (profile_paths_, db, "odb plugin"); |