From 083e64da1d4b5b68579288bc1690ca90d3f0a2c0 Mon Sep 17 00:00:00 2001 From: Frederico Linhares Date: Mon, 30 Dec 2024 23:25:24 -0300 Subject: refa Using reference arguments for Texture and Sprite --- src/blucat/texture.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/blucat/texture.hpp') diff --git a/src/blucat/texture.hpp b/src/blucat/texture.hpp index 5d076dc..4bf0350 100644 --- a/src/blucat/texture.hpp +++ b/src/blucat/texture.hpp @@ -41,7 +41,7 @@ struct Texture std::vector descriptor_sets; Texture(Font *font, const char *str); - Texture(std::string texture_path); + Texture(const std::string &texture_path); Texture(const char* texture_path); ~Texture(); }; -- cgit v1.2.3