Permalink
Browse files

Fixed initialization of tree validator

  • Loading branch information...
1 parent 3e7c4c8 commit cec53106c97101e1ab18f8f6904a137e574c367e @saleyn committed Jul 13, 2014
Showing with 6 additions and 2 deletions.
  1. +6 −2 include/utxx/variant_tree.hpp
View
8 include/utxx/variant_tree.hpp
@@ -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

0 comments on commit cec5310

Please sign in to comment.