Skip to content

Commit

Permalink
Fixed initialization of tree validator
Browse files Browse the repository at this point in the history
  • Loading branch information
saleyn committed Jul 13, 2014
1 parent 3e7c4c8 commit cec5310
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions include/utxx/variant_tree.hpp
Expand Up @@ -263,8 +263,12 @@ class basic_variant_tree : public basic_variant_tree_base<Ch>
, m_schema_validator(a_rhs.m_schema_validator)
{}

basic_variant_tree(const base& a_rhs, const path_type& a_root_path = path_type())
: base(a_rhs), m_root_path(a_root_path)
basic_variant_tree(const base& a_rhs,
const path_type& a_root_path = path_type(),
const config::validator* a_validator = NULL)
: base(a_rhs)
, m_root_path(a_root_path)
, m_schema_validator(NULL)
{}

#if __cplusplus >= 201103L
Expand Down

0 comments on commit cec5310

Please sign in to comment.