commit 3f8eb225f53a332141834d283c13647af2152aac parent 692638de2dc5f1774f659481c2020ac6d80860ad Author: Kyle Milz <kyle@getaddrinfo.net> Date: Thu, 24 Mar 2016 23:34:09 -0600 instrument: add a const_cast Diffstat:
M | instrument/main.cc | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/instrument/main.cc b/instrument/main.cc @@ -156,7 +156,7 @@ main(int argc, char *argv[]) } // Non source file argument, copy verbatim - modified_args.push_back((char *)arg.c_str()); + modified_args.push_back(const_cast<char *>(arg.c_str())); } // NULL terminate the arg vectors we pass to exec()