summaryrefslogtreecommitdiffhomepage
path: root/loader/scenery-traits.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'loader/scenery-traits.hpp')
-rw-r--r--loader/scenery-traits.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/loader/scenery-traits.hpp b/loader/scenery-traits.hpp
index 13d52708..37aaa199 100644
--- a/loader/scenery-traits.hpp
+++ b/loader/scenery-traits.hpp
@@ -14,13 +14,13 @@ template<> struct atlas_loader_traits<scenery_proto>
using Storage = atlas_storage<Atlas, Self>;
static StringView loader_name();
- static const scenery_proto& atlas_of(const Cell& x);
- static scenery_proto& atlas_of(Cell& x);
+ static const Optional<Atlas>& atlas_of(const Cell& x);
+ static Optional<Atlas>& atlas_of(Cell& x);
static StringView name_of(const Cell& x);
static String& name_of(Cell& x);
static void atlas_list(Storage& st);
static Cell make_invalid_atlas(Storage& st);
- static scenery_proto make_atlas(StringView name, const Cell& c);
+ static Optional<scenery_proto> make_atlas(StringView name, const Cell& c);
static Optional<Cell> make_cell(StringView name);
};