This commit is contained in:
2018-04-06 21:02:01 -04:00
parent 5e4c92e7ad
commit 05c9936b48

View File

@@ -41,18 +41,18 @@ namespace ticpp {
CloseElement(tagName); CloseElement(tagName);
} }
}; };
}
template<> inline void ticpp::Printer::PushAttribute(std::string attrName, bool attrVal) { template<> inline void Printer::PushAttribute(std::string attrName, bool attrVal) {
PushAttribute(attrName, attrVal ? "true" : "false"); PushAttribute(attrName, attrVal ? "true" : "false");
} }
template<> inline void ticpp::Printer::PushElement(std::string attrName, bool attrVal, bool cdata) { template<> inline void Printer::PushElement(std::string attrName, bool attrVal, bool cdata) {
PushElement(attrName, attrVal ? "true" : "false", cdata); PushElement(attrName, attrVal ? "true" : "false", cdata);
} }
template<> inline void ticpp::Printer::PushText(bool textVal, bool cdata) { template<> inline void Printer::PushText(bool textVal, bool cdata) {
PushText(textVal ? "true" : "false", cdata); PushText(textVal ? "true" : "false", cdata);
}
} }
#endif #endif