From 5dbb1fad0d52493afdb51090bd2560f9b1db3625 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 13 Sep 2024 02:33:12 +0300 Subject: [PATCH] update returned data type --- src/app/browser/main/tab/page.cpp | 4 ++-- src/app/browser/main/tab/page.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/browser/main/tab/page.cpp b/src/app/browser/main/tab/page.cpp index 44898144..2f621588 100644 --- a/src/app/browser/main/tab/page.cpp +++ b/src/app/browser/main/tab/page.cpp @@ -132,11 +132,11 @@ int Page::restore( ); } -int Page::save( +void Page::save( const sqlite3_int64 & APP_BROWSER_MAIN_TAB__SESSION__ID ) { // Delegate save action to child components - return pageNavigation->save( + pageNavigation->save( DB::SESSION::add( db, APP_BROWSER_MAIN_TAB__SESSION__ID, diff --git a/src/app/browser/main/tab/page.hpp b/src/app/browser/main/tab/page.hpp index 7722e634..1112f12e 100644 --- a/src/app/browser/main/tab/page.hpp +++ b/src/app/browser/main/tab/page.hpp @@ -125,7 +125,7 @@ namespace app::browser::main::tab const sqlite3_int64 & APP_BROWSER_MAIN_TAB__SESSION__ID ); // return sqlite3_finalize status code - int save( + void save( const sqlite3_int64 & APP_BROWSER_MAIN_TAB__SESSION__ID );