diff --git a/preprocessor.cpp b/preprocessor.cpp index 4ca818645..ce97d01a3 100644 --- a/preprocessor.cpp +++ b/preprocessor.cpp @@ -45,7 +45,7 @@ static std::string getcode(const std::string &filedata, std::string cfg); * \param istr The (file/string) stream to read from. * \param result The map that will get the results */ -void preprocess(std::istream &istr, std::map &result, const std::string filename) +void preprocess(std::istream &istr, std::map &result, const std::string &filename) { // Get filedata from stream.. bool ignoreSpace = true;