diff options
author | rtk0c <[email protected]> | 2021-05-31 12:27:58 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2021-05-31 12:27:58 -0700 |
commit | 8157678eba97d7de5c53b424a9866d327392bbd9 (patch) | |
tree | 26348a926040ccfc91f74cdfe49f7153db271f87 /core/src/Model/Project.hpp | |
parent | eef2514908cdec3ec02888b7467cc877d33c1ceb (diff) |
Fix standard incompetence found by MSVC
- requires-expression still not working, because they aren't supported yet outside of a concept
Diffstat (limited to 'core/src/Model/Project.hpp')
-rw-r--r-- | core/src/Model/Project.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/Model/Project.hpp b/core/src/Model/Project.hpp index bce58c2..1eca09d 100644 --- a/core/src/Model/Project.hpp +++ b/core/src/Model/Project.hpp @@ -59,7 +59,7 @@ public: const tsl::array_map<char, TemplateInfo>& GetTemplates() const; std::unique_ptr<Template> LoadTemplate(std::string_view name); - bool InsertTemplate(std::string_view name, TemplateInfo info); + TemplateInfo* InsertTemplate(std::string_view name, TemplateInfo info); bool RemoveTemplate(std::string_view name); bool RenameTemplate(std::string_view oldName, std::string_view newName); |