This commit is contained in:
Scott E. Graves 2024-10-17 11:20:59 -05:00
parent a1b138ccd1
commit 7120856407

View File

@ -112,7 +112,7 @@ private:
bool &success_flag) -> bool { bool &success_flag) -> bool {
REPERTORY_USES_FUNCTION_NAME(); REPERTORY_USES_FUNCTION_NAME();
auto ret = false; auto ret{false};
try { try {
if (json_document.find(name) != json_document.end()) { if (json_document.find(name) != json_document.end()) {
dst = json_document[name].get<dest>(); dst = json_document[name].get<dest>();
@ -131,7 +131,7 @@ private:
template <typename dest, typename source> template <typename dest, typename source>
auto set_value(dest &dst, const source &src) -> bool { auto set_value(dest &dst, const source &src) -> bool {
auto ret = false; auto ret{false};
recur_mutex_lock lock(read_write_mutex_); recur_mutex_lock lock(read_write_mutex_);
if (dst != src) { if (dst != src) {
dst = src; dst = src;