diff options
Diffstat (limited to 'src/ImageViewer.cpp')
-rw-r--r-- | src/ImageViewer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ImageViewer.cpp b/src/ImageViewer.cpp index c929086..e005337 100644 --- a/src/ImageViewer.cpp +++ b/src/ImageViewer.cpp @@ -40,7 +40,7 @@ namespace QuickMedia { image_data->texture.setSmooth(true); assert(!loading_image); loading_image = true; - image_loader_thread = std::thread([this, image_data, path]() { + image_loader_thread = std::thread([this, image_data, path]() mutable { auto image = std::make_unique<sf::Image>(); if(image->loadFromFile(path.data)) { image_data->image = std::move(image); |