summaryrefslogtreecommitdiffstats
path: root/Options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Options.cpp')
-rw-r--r--Options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Options.cpp b/Options.cpp
index 4515307..34b1e66 100644
--- a/Options.cpp
+++ b/Options.cpp
@@ -111,7 +111,7 @@ void Options::parseArgv(int start, int argc, char* argv[]) {
i--;
continue;
}
- std::istringstream dat(std::string(args[i]));
+ std::istringstream dat((std::string(args[i])));
int num;
dat >> num;
@@ -136,7 +136,7 @@ void Options::parseArgv(int start, int argc, char* argv[]) {
i--;
continue;
}
- std::istringstream dat(std::string(args[i]));
+ std::istringstream dat((std::string(args[i])));
int len;
dat >> len;