diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-16 12:24:19 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-16 13:44:15 +0200 |
commit | 5e9a9fef6edb636b7e6babb743541a18f25bd67f (patch) | |
tree | 0ffef80b2781498a80a8ddcf6d20c9cede749239 /shaders | |
parent | d2932dbdcf1ee0e646be90d9ad631ced171e012b (diff) |
use Corrade::Utility::move
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/shader.hpp | 3 |
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> |