mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 12:20:58 +00:00
Fix #507 clang compilation error in layer_io.cpp
This commit is contained in:
parent
8f6cf34a78
commit
adaab1af98
@ -90,7 +90,7 @@ Layer* read_layer(std::istream& is, LayerSubObjectsSerializer* subObjects, Sprit
|
|||||||
|
|
||||||
base::UniquePtr<Layer> layer;
|
base::UniquePtr<Layer> layer;
|
||||||
|
|
||||||
switch (layer_type) {
|
switch (static_cast<ObjectType>(layer_type)) {
|
||||||
|
|
||||||
case ObjectType::LayerImage: {
|
case ObjectType::LayerImage: {
|
||||||
// Create layer
|
// Create layer
|
||||||
|
Loading…
Reference in New Issue
Block a user