diff options
Diffstat (limited to 'zenxml')
-rw-r--r-- | zenxml/bind.h | 2 | ||||
-rw-r--r-- | zenxml/cvrt_struc.h | 16 | ||||
-rw-r--r-- | zenxml/parser.h | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/zenxml/bind.h b/zenxml/bind.h index b297b607..b679af40 100644 --- a/zenxml/bind.h +++ b/zenxml/bind.h @@ -195,7 +195,7 @@ public: { auto iterPair = refList[refIndex]->getChildren(name); std::for_each(iterPair.first, iterPair.second, - [&](const XmlElement & child) { childList.push_back(&child); }); + [&](const XmlElement& child) { childList.push_back(&child); }); } return XmlIn(childList, childList.empty() ? getChildNameFormatted(name) : std::string(), log); diff --git a/zenxml/cvrt_struc.h b/zenxml/cvrt_struc.h index 5f7f4ad1..b5340ec9 100644 --- a/zenxml/cvrt_struc.h +++ b/zenxml/cvrt_struc.h @@ -69,11 +69,11 @@ ZEN_INIT_DETECT_MEMBER(insert) // template <typename T> struct IsStlContainer : StaticBool< - impl_2384343::HasMemberType_value_type <T>::value && - impl_2384343::HasMemberType_iterator <T>::value && - impl_2384343::HasMemberType_const_iterator<T>::value && - impl_2384343::HasMember_begin <T>::value && - impl_2384343::HasMember_end <T>::value && + impl_2384343::HasMemberType_value_type <T>::value&& + impl_2384343::HasMemberType_iterator <T>::value&& + impl_2384343::HasMemberType_const_iterator<T>::value&& + impl_2384343::HasMember_begin <T>::value&& + impl_2384343::HasMember_end <T>::value&& impl_2384343::HasMember_insert <T>::value> {}; @@ -89,9 +89,9 @@ ZEN_INIT_DETECT_MEMBER(second) // template <typename T> struct IsStlPair : StaticBool< - impl_2384343::HasMemberType_first_type <T>::value && - impl_2384343::HasMemberType_second_type<T>::value && - impl_2384343::HasMember_first <T>::value && + impl_2384343::HasMemberType_first_type <T>::value&& + impl_2384343::HasMemberType_second_type<T>::value&& + impl_2384343::HasMember_first <T>::value&& impl_2384343::HasMember_second <T>::value> {}; //###################################################################################### diff --git a/zenxml/parser.h b/zenxml/parser.h index 823cd793..be777a40 100644 --- a/zenxml/parser.h +++ b/zenxml/parser.h @@ -89,7 +89,7 @@ std::pair<char, char> hexify(unsigned char c) { auto hexifyDigit = [](int num) -> char //input [0, 15], output 0-9, A-F { - assert(0 <= num && num <= 15); //guaranteed by design below! + assert(0 <= num&& num <= 15); //guaranteed by design below! return static_cast<char>(num <= 9 ? //no signed/unsigned char problem here! '0' + num : 'A' + (num - 10)); |