diff --git a/yt.cpp b/yt.cpp index 6097b78..3edde65 100644 --- a/yt.cpp +++ b/yt.cpp @@ -346,7 +346,7 @@ bool Channel::is_valid() const return !id.empty() && !name.empty(); } -void Channel::save_user_flags(sqlite3 *db) +void Channel::save_user_flags(sqlite3 *db) const { sqlite3_stmt *query; SC(sqlite3_prepare_v2(db, "UPDATE channels SET user_flags = ?2 WHERE channelID = ?1;", -1, &query, nullptr)); @@ -388,7 +388,6 @@ std::vector