Skip to content

Commit 922ea4c

Browse files
committed
Attempt to fix is_dict_value build errors
1 parent b5cd3d9 commit 922ea4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/session/config/base.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ static constexpr bool is_dict_subtype = is_one_of<T, config::scalar, config::set
3939
/// True for a dict_value or any of the types containable within a dict value
4040
template <typename T>
4141
static constexpr bool is_dict_value =
42-
is_dict_subtype<T> || is_one_of<T, dict_value, int64_t, std::string>;
42+
is_dict_subtype<T> ||
43+
is_one_of<T, dict_value, int64_t, std::string, std::chrono::sys_seconds>;
4344

4445
/// Our current config state
4546
enum class ConfigState : int {

0 commit comments

Comments
 (0)