aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/history/Bookmark.hpp
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2023-10-17 22:52:09 +0200
committer GitHub <noreply@github.com>2023-10-17 22:52:09 +0200
commit1484dd3aa73489cc66572f1c431e08c610e201af (patch)
treef227cc7e896ce5be07816919342da0bf580f47e6 /src/openvic-simulation/history/Bookmark.hpp
parentb0a1dc5adef58671c1f1b8a73c7a8b9b26bb84ac (diff)
parent81f68d59f0e9cf6fa183a86db7128580ea7a986a (diff)
Merge pull request #59 from OpenVicProject/fix/bookmarks
Diffstat (limited to 'src/openvic-simulation/history/Bookmark.hpp')
-rw-r--r--src/openvic-simulation/history/Bookmark.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/history/Bookmark.hpp b/src/openvic-simulation/history/Bookmark.hpp
index ec230ca..63e1b3b 100644
--- a/src/openvic-simulation/history/Bookmark.hpp
+++ b/src/openvic-simulation/history/Bookmark.hpp
@@ -20,7 +20,7 @@ namespace OpenVic {
const uint32_t initial_camera_y;
Bookmark(
- std::string_view new_identifier,
+ size_t new_index,
std::string_view new_name,
std::string_view new_description,
Date new_date,
@@ -45,7 +45,7 @@ namespace OpenVic {
public:
BookmarkManager();
- bool add_bookmark(std::string_view identifier, std::string_view name, std::string_view description, Date date, uint32_t initial_camera_x, uint32_t initial_camera_y);
+ bool add_bookmark(std::string_view name, std::string_view description, Date date, uint32_t initial_camera_x, uint32_t initial_camera_y);
IDENTIFIER_REGISTRY_ACCESSORS(bookmark);
bool load_bookmark_file(ast::NodeCPtr root);