diff options
Diffstat (limited to 'src/kernel_preprocessor.cpp')
-rw-r--r-- | src/kernel_preprocessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel_preprocessor.cpp b/src/kernel_preprocessor.cpp index 46b6f3df..42804040 100644 --- a/src/kernel_preprocessor.cpp +++ b/src/kernel_preprocessor.cpp @@ -285,7 +285,7 @@ std::vector<std::string> PreprocessDefinesAndComments(const std::string& source, const auto max_depth_defines = 30; auto disabled = std::vector<unsigned int>(max_depth_defines, 0); auto depth = size_t{0}; - auto source_stream = std::stringstream(source); + std::stringstream source_stream(source); auto line = std::string{""}; while (std::getline(source_stream, line)) { //printf("[@%zu] disabled=%d '%s'\n", depth, disabled[depth], line.c_str()); |