Permalink
Browse files

Minor cleanup

  • Loading branch information...
1 parent 11dbd07 commit 883f68a7b6ab8087f7f3e7a8384d0f3e38005854 @saleyn committed Jul 14, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/config_validator.cpp
@@ -218,7 +218,7 @@ tree_path validator::format_name
tree_path s = a_root / a_opt.name;
if (!a_cfg_opt.empty() && a_cfg_opt != a_opt.name) // && a_opt.opt_type == ANONYMOUS)
s /= a_cfg_opt;
- if (a_cfg_value != std::string()) // && !a_opt.unique)
+ if (!a_cfg_value.empty()) // && !a_opt.unique)
s = s.dump() + '[' + a_cfg_value + ']';
return s;
}

0 comments on commit 883f68a

Please sign in to comment.