Skip to content
Snippets Groups Projects
Verified Commit 0940a458 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#106] Fixed warning with strstream

parent 3c2a5543
No related branches found
No related tags found
1 merge request!89Resolve "Indirect Dispatch"
Checking pipeline status
......@@ -2,7 +2,7 @@
#include "vkcv/shader/GLSLCompiler.hpp"
#include <fstream>
#include <strstream>
#include <sstream>
#include <glslang/SPIRV/GlslangToSpv.h>
#include <glslang/StandAlone/DirStackFileIncluder.h>
......@@ -219,7 +219,7 @@ namespace vkcv::shader {
std::string source (shaderSource);
if (!m_defines.empty()) {
std::strstream defines;
std::stringstream defines;
for (const auto& define : m_defines) {
defines << "#define " << define.first << " " << define.second << std::endl;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment