From f1716624e7ed6ad06944103c8e0d40ed40e0bf92 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 24 May 2021 18:54:36 +0300 Subject: Fix MinGW GCC's 'redeclared without dllimport attribute' warning --- odb/sqlite/connection.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'odb/sqlite/connection.hxx') diff --git a/odb/sqlite/connection.hxx b/odb/sqlite/connection.hxx index 366239f..dbe4494 100644 --- a/odb/sqlite/connection.hxx +++ b/odb/sqlite/connection.hxx @@ -336,10 +336,7 @@ namespace odb friend class transaction_impl; connection_factory& - main_factory () - { - return main_connection_->factory (); - } + main_factory (); // Note that this essentially establishes a "framework" for all the // attached connection factory implementations: they hold a counted -- cgit v1.1