From e5a99943a5f94347c3775de278b2cebd122c1249 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Wed, 9 Oct 2024 12:23:17 -0500 Subject: [PATCH] fix --- support/include/utils/db/sqlite/db_common.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/support/include/utils/db/sqlite/db_common.hpp b/support/include/utils/db/sqlite/db_common.hpp index ea02ba17..a12d2220 100644 --- a/support/include/utils/db/sqlite/db_common.hpp +++ b/support/include/utils/db/sqlite/db_common.hpp @@ -173,11 +173,8 @@ public: template struct db_result final { db_result(std::shared_ptr context, std::int32_t res) : context_(std::move(context)), res_(res) { - constexpr const auto *function_name = - static_cast(__FUNCTION__); - if (res == SQLITE_OK) { - set_res(sqlite3_step(context_->stmt.get()), function_name); + set_res(sqlite3_step(context_->stmt.get())); } }