aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd_line.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd_line.cpp b/src/cmd_line.cpp
index 238e0bc..d2eeab5 100644
--- a/src/cmd_line.cpp
+++ b/src/cmd_line.cpp
@@ -8,8 +8,6 @@
#include <winapi/utf8.hpp>
#include <winapi/utils.hpp>
-#include <SafeInt.hpp>
-
#include <boost/algorithm/string.hpp>
#include <boost/config.hpp>
@@ -102,7 +100,7 @@ std::string CommandLine::escape(const std::string& arg) {
safe << '"';
for (auto it = arg.cbegin(); it != arg.cend(); ++it) {
- SafeInt<std::size_t> numof_backslashes{0};
+ std::size_t numof_backslashes = 0;
for (; it != arg.cend() && *it == '\\'; ++it)
++numof_backslashes;