File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class data_t
7070 data_t () = default ;
7171
7272 template <typename CONTAINER>
73- data_t (CONTAINER const &objects)
73+ explicit data_t (CONTAINER const &objects)
7474 {
7575 std::copy (std::begin (objects), std::end (objects),
7676 std::back_inserter (m_objects));
@@ -167,7 +167,8 @@ class import_t
167167 void run_import (options_t options, char const *data,
168168 std::string const &format = " opl" )
169169 {
170- run_import (options, std::initializer_list<std::string>{data}, format);
170+ run_import (std::move (options), std::initializer_list<std::string>{data},
171+ format);
171172 }
172173
173174 void run_file (options_t options, char const *file = nullptr )
@@ -195,7 +196,7 @@ class import_t
195196
196197 testing::pg::conn_t connect () { return m_db.connect (); }
197198
198- testing::pg::tempdb_t const &db () const { return m_db; }
199+ testing::pg::tempdb_t const &db () const noexcept { return m_db; }
199200
200201private:
201202 testing::pg::tempdb_t m_db;
You can’t perform that action at this time.
0 commit comments