aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorGiacomo Pozzoni <giacomopoz@gmail.com>2020-08-04 09:36:47 +0000
committerShauren <shauren.trinity@gmail.com>2022-01-26 14:06:40 +0100
commit864d775280097f9b6440e4fef1d3800b48b254ae (patch)
tree9cd881a957dc715819a8a530a42777d45000892a /src/tools
parentafcb13cd44cf77d6599805f7160d9255c0a6ca4c (diff)
Core/Misc: Fix static analysis issues (#25194)
(cherry picked from commit 07fd84b679fd6958b7e669a96c78783875e1b949)
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/map_extractor/System.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/map_extractor/System.cpp b/src/tools/map_extractor/System.cpp
index bde10bc6fe0..8d81d84edf1 100644
--- a/src/tools/map_extractor/System.cpp
+++ b/src/tools/map_extractor/System.cpp
@@ -147,7 +147,7 @@ void CreateDir(boost::filesystem::path const& path)
return;
if (!fs::create_directory(path))
- throw new std::runtime_error("Unable to create directory" + path.string());
+ throw std::runtime_error("Unable to create directory" + path.string());
}
void Usage(char const* prg)