From c4aeeced7b397d46772577775bd3a0d6c4706cba Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 18 Sep 2021 03:30:23 +0300 Subject: [PATCH] Remove unnecessary std:: qualifiers --- source/effects/shadowmap.cpp | 2 +- source/glsl/builtin.cpp | 2 +- source/materials/technique.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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) -- 2.43.0