mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
build: Make ImHex fully compile with MSVC and Clang CL
This does NOT make ImHex work yet. However it can now be compiled
This commit is contained in:
@@ -24,8 +24,8 @@ namespace hex {
|
||||
|
||||
static void removeWorkspace(const std::string &name);
|
||||
|
||||
static const auto& getWorkspaces() { return *s_workspaces; }
|
||||
static const auto& getCurrentWorkspace() { return s_currentWorkspace; }
|
||||
static const std::map<std::string, Workspace>& getWorkspaces();
|
||||
static const std::map<std::string, Workspace>::iterator& getCurrentWorkspace();
|
||||
|
||||
static void reset();
|
||||
static void reload();
|
||||
@@ -34,9 +34,6 @@ namespace hex {
|
||||
|
||||
private:
|
||||
WorkspaceManager() = default;
|
||||
|
||||
static AutoReset<std::map<std::string, Workspace>> s_workspaces;
|
||||
static decltype(s_workspaces)::Type::iterator s_currentWorkspace, s_previousWorkspace, s_workspaceToRemove;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user