diff options
Diffstat (limited to 'src/database')
-rw-r--r-- | src/database/database.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database/database.cpp b/src/database/database.cpp index 9037ce1..861abcb 100644 --- a/src/database/database.cpp +++ b/src/database/database.cpp @@ -238,9 +238,9 @@ std::tuple<bool, std::vector<Database::MucLogLine>> Database::get_muc_logs(const } if (paging == Database::Paging::first) - return std::make_tuple(complete, result); + return {complete, result}; else - return std::make_tuple(complete, std::vector<Database::MucLogLine>(result.crbegin(), result.crend())); + return {complete, {result.crbegin(), result.crend()}}; } Database::MucLogLine Database::get_muc_log(const std::string& owner, const std::string& chan_name, const std::string& server, |