refactor
This commit is contained in:
parent
cc1000e73b
commit
555824d913
@ -110,14 +110,11 @@ private:
|
|||||||
mutable std::recursive_mutex remote_mount_mutex_;
|
mutable std::recursive_mutex remote_mount_mutex_;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
[[nodiscard]] auto get_database_value(const json &json_document,
|
auto get_database_value(const json &json_document, const std::string &name,
|
||||||
const std::string &name,
|
database_type &dst, bool &success_flag) -> bool;
|
||||||
database_type &dst, bool &success_flag)
|
|
||||||
-> bool;
|
|
||||||
|
|
||||||
template <typename dest>
|
template <typename dest>
|
||||||
[[nodiscard]] auto get_value(const json &json_document,
|
auto get_value(const json &json_document, const std::string &name, dest &dst,
|
||||||
const std::string &name, dest &dst,
|
|
||||||
bool &success_flag) -> bool {
|
bool &success_flag) -> bool {
|
||||||
REPERTORY_USES_FUNCTION_NAME();
|
REPERTORY_USES_FUNCTION_NAME();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user