diff options
Diffstat (limited to 'Minecraft.World/ZoomLayer.cpp')
| -rw-r--r-- | Minecraft.World/ZoomLayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/ZoomLayer.cpp b/Minecraft.World/ZoomLayer.cpp index c2123785..fd452a08 100644 --- a/Minecraft.World/ZoomLayer.cpp +++ b/Minecraft.World/ZoomLayer.cpp @@ -86,7 +86,7 @@ shared_ptr<Layer>ZoomLayer::zoom(int64_t seed, shared_ptr<Layer> sup, int count) shared_ptr<Layer>result = sup; for (int i = 0; i < count; i++) { - result = shared_ptr<Layer>(new ZoomLayer(seed + i, result)); + result = std::make_shared<ZoomLayer>(seed + i, result); } return result; }
\ No newline at end of file |
