File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -64,21 +64,24 @@ class flex_table_t
6464 return m_index_tablespace;
6565 }
6666
67- void set_schema (std::string const &schema) noexcept { m_schema = schema; }
67+ void set_schema (std::string schema) noexcept
68+ {
69+ m_schema = std::move (schema);
70+ }
6871
6972 void set_cluster_by_geom (bool cluster) noexcept
7073 {
7174 m_cluster_by_geom = cluster;
7275 }
7376
74- void set_data_tablespace (std::string const & tablespace) noexcept
77+ void set_data_tablespace (std::string tablespace) noexcept
7578 {
76- m_data_tablespace = tablespace;
79+ m_data_tablespace = std::move ( tablespace) ;
7780 }
7881
79- void set_index_tablespace (std::string const & tablespace) noexcept
82+ void set_index_tablespace (std::string tablespace) noexcept
8083 {
81- m_index_tablespace = tablespace;
84+ m_index_tablespace = std::move ( tablespace) ;
8285 }
8386
8487 osmium::item_type id_type () const noexcept { return m_id_type; }
You can’t perform that action at this time.
0 commit comments