Skip to content

Commit cc95702

Browse files
committed
Fixed sourcery compile
1 parent 43b7762 commit cc95702

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sourcery.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <iomanip>
99
#include <iostream>
1010
#include <fstream>
11+
#include <sstream>
1112
#include <string>
1213
#include "../lib/url.h"
1314
#include "../lib/url.cpp"
@@ -18,7 +19,7 @@ std::string getContents(const char * fileName){
1819
std::ifstream inFile(fileName);
1920
std::string fullText;
2021
if (inFile){
21-
std::ostringstream contents;
22+
std::stringstream contents;
2223
contents << inFile.rdbuf();
2324
inFile.close();
2425
return contents.str();

0 commit comments

Comments
 (0)