summaryrefslogtreecommitdiffhomepage
path: root/shaders
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-04-16 12:24:19 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-04-16 13:44:15 +0200
commit5e9a9fef6edb636b7e6babb743541a18f25bd67f (patch)
tree0ffef80b2781498a80a8ddcf6d20c9cede749239 /shaders
parentd2932dbdcf1ee0e646be90d9ad631ced171e012b (diff)
use Corrade::Utility::move
Diffstat (limited to 'shaders')
-rw-r--r--shaders/shader.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/shaders/shader.hpp b/shaders/shader.hpp
index a8f778da..00bac08e 100644
--- a/shaders/shader.hpp
+++ b/shaders/shader.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "compat/defs.hpp"
#include "tile-defs.hpp"
+#include <Corrade/Utility/Move.h>
#include <Magnum/GL/AbstractShaderProgram.h>
#include <Magnum/Math/Vector2.h>
#include <Magnum/Math/Vector3.h>
@@ -60,7 +61,7 @@ template<typename T, typename... Xs>
decltype(auto) tile_shader::draw(T&& mesh, Xs&&... xs)
{
_draw();
- return GL::AbstractShaderProgram::draw(std::forward<T>(mesh), std::forward<Xs>(xs)...);
+ return GL::AbstractShaderProgram::draw(Utility::forward<T>(mesh), Utility::forward<Xs>(xs)...);
}
template<typename T>