From: Mikko Rasa Date: Sat, 18 Sep 2021 00:30:23 +0000 (+0300) Subject: Remove unnecessary std:: qualifiers X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=c4aeeced7b397d46772577775bd3a0d6c4706cba Remove unnecessary std:: qualifiers --- diff --git a/source/effects/shadowmap.cpp b/source/effects/shadowmap.cpp index f688a6e3..29358385 100644 --- a/source/effects/shadowmap.cpp +++ b/source/effects/shadowmap.cpp @@ -108,7 +108,7 @@ void ShadowMap::render(Renderer &renderer, Tag tag) const renderer.render(renderable, tag); } -void ShadowMap::set_debug_name(const std::string &name) +void ShadowMap::set_debug_name(const string &name) { #ifdef DEBUG fbo.set_debug_name(name+" [FBO]"); diff --git a/source/glsl/builtin.cpp b/source/glsl/builtin.cpp index 8e18d6eb..217509a2 100644 --- a/source/glsl/builtin.cpp +++ b/source/glsl/builtin.cpp @@ -10,7 +10,7 @@ namespace Msp { namespace GL { namespace SL { -void add_builtin_type(Stage &stage, const std::string &name, BasicTypeDeclaration::Kind kind, unsigned size, unsigned sign) +void add_builtin_type(Stage &stage, const string &name, BasicTypeDeclaration::Kind kind, unsigned size, unsigned sign) { RefPtr type = new BasicTypeDeclaration; type->source = BUILTIN_SOURCE; diff --git a/source/materials/technique.cpp b/source/materials/technique.cpp index ef176411..be51b1da 100644 --- a/source/materials/technique.cpp +++ b/source/materials/technique.cpp @@ -102,7 +102,7 @@ bool Technique::has_shaders() const return false; } -void Technique::set_debug_name(const std::string &name) +void Technique::set_debug_name(const string &name) { #ifdef DEBUG for(auto &kvp: passes)