Fixed an Android compilation issue

pull/230/head
Cedric Nugteren 2017-12-10 13:31:57 +01:00
parent 9f02fb542c
commit 9112e587ae
1 changed files with 1 additions and 1 deletions

View File

@ -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());