Browse Source

update returned data type

CPP-GTK4
yggverse 3 months ago
parent
commit
5dbb1fad0d
  1. 4
      src/app/browser/main/tab/page.cpp
  2. 2
      src/app/browser/main/tab/page.hpp

4
src/app/browser/main/tab/page.cpp

@ -132,11 +132,11 @@ int Page::restore( @@ -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,

2
src/app/browser/main/tab/page.hpp

@ -125,7 +125,7 @@ namespace app::browser::main::tab @@ -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
);

Loading…
Cancel
Save