commit | 9d2d72264319f421d87b2ac93d8e08d84bd9c527 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:44:44 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:44:58 2021 -0500 |
tree | d6eff40d596c5ae37f186a7cd7e69a9e42f85c58 | |
parent | ce83688b6c7432253bf435efc6bf0d62d56eef83 [diff] [blame] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id4f88568c2897ab1117dcad647783a9127c0600d
diff --git a/dump_offload.cpp b/dump_offload.cpp index ada0e8a..7795bb2 100644 --- a/dump_offload.cpp +++ b/dump_offload.cpp
@@ -218,7 +218,7 @@ writeOnUnixSocket(socketFD(), buffer.get(), size); } } - catch (std::ifstream::failure& oe) + catch (const std::ifstream::failure& oe) { std::remove(writePath.c_str()); auto err = errno;