aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/include
diff options
context:
space:
mode:
authorEPICGAMES\thierry.begin <[email protected]>2024-04-08 10:43:16 -0400
committerEPICGAMES\thierry.begin <[email protected]>2024-04-08 10:43:16 -0400
commitb35e1258a043cab06950b2453f434861d99b918a (patch)
tree695737774fa08ebaa0e32a9f95cb0247c34b3dc3 /src/zenutil/include
parentAdd docker support (diff)
parentMerge pull request #41 from ue-foundation/zs/import-oplog-clean (diff)
downloadzen-tb/docker.tar.xz
zen-tb/docker.zip
Merge branch 'main' of https://github.ol.epicgames.net/ue-foundation/zen into tb/dockertb/docker
Diffstat (limited to 'src/zenutil/include')
-rw-r--r--src/zenutil/include/zenutil/logging/rotatingfilesink.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/zenutil/include/zenutil/logging/rotatingfilesink.h b/src/zenutil/include/zenutil/logging/rotatingfilesink.h
index e4a99fc30..ca4649ba8 100644
--- a/src/zenutil/include/zenutil/logging/rotatingfilesink.h
+++ b/src/zenutil/include/zenutil/logging/rotatingfilesink.h
@@ -60,7 +60,7 @@ public:
RwLock::ExclusiveLockScope RotateLock(m_Lock);
m_CurrentFile.Close();
}
- catch (std::exception&)
+ catch (const std::exception&)
{
}
}
@@ -101,7 +101,7 @@ public:
}
}
}
- catch (std::exception&)
+ catch (const std::exception&)
{
// Silently eat errors
}
@@ -116,7 +116,7 @@ public:
m_CurrentFile.Flush();
}
}
- catch (std::exception&)
+ catch (const std::exception&)
{
// Silently eat errors
}
@@ -129,7 +129,7 @@ public:
RwLock::ExclusiveLockScope _(m_Lock);
m_Formatter = spdlog::details::make_unique<spdlog::pattern_formatter>(pattern);
}
- catch (std::exception&)
+ catch (const std::exception&)
{
// Silently eat errors
}
@@ -141,7 +141,7 @@ public:
RwLock::ExclusiveLockScope _(m_Lock);
m_Formatter = std::move(sink_formatter);
}
- catch (std::exception&)
+ catch (const std::exception&)
{
// Silently eat errors
}