Skip to content

Commit 1bcf138

Browse files
committed
Make table_connection_t::start() function const
1 parent 60afdaf commit 1bcf138

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/flex-table.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,8 @@ static void enable_check_trigger(pg_conn_t const &db_connection,
279279
checks);
280280
}
281281

282-
void table_connection_t::start(pg_conn_t const &db_connection, bool append)
282+
void table_connection_t::start(pg_conn_t const &db_connection,
283+
bool append) const
283284
{
284285
if (!append) {
285286
drop_table_if_exists(db_connection, table().schema(), table().name());

src/flex-table.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ class table_connection_t
281281
{
282282
}
283283

284-
void start(pg_conn_t const &db_connection, bool append);
284+
void start(pg_conn_t const &db_connection, bool append) const;
285285

286286
void stop(pg_conn_t const &db_connection, bool updateable, bool append);
287287

0 commit comments

Comments
 (0)