diff --git a/include/blt/std/loader.h b/include/blt/std/loader.h index d8c13a5..f0d288e 100644 --- a/include/blt/std/loader.h +++ b/include/blt/std/loader.h @@ -20,7 +20,7 @@ namespace blt::fs { std::vector recursiveShaderInclude(const std::string& path); - std::string loadShaderFile(const std::string& path) { + static inline std::string loadShaderFile(const std::string& path) { std::stringstream stringStream; auto lines = recursiveShaderInclude(path);