summaryrefslogtreecommitdiff
path: root/zenXml/zenxml
diff options
context:
space:
mode:
Diffstat (limited to 'zenXml/zenxml')
-rwxr-xr-xzenXml/zenxml/bind.h2
-rwxr-xr-xzenXml/zenxml/dom.h8
-rwxr-xr-xzenXml/zenxml/parser.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/zenXml/zenxml/bind.h b/zenXml/zenxml/bind.h
index e33809d2..28f02745 100755
--- a/zenXml/zenxml/bind.h
+++ b/zenXml/zenxml/bind.h
@@ -55,7 +55,7 @@ void save(const XmlDoc& doc,
const std::string& lineBreak = "\r\n",
const std::string& indent = " ") //throw XmlFileError
{
- std::string stream = serialize(doc, lineBreak, indent); //throw ()
+ std::string stream = serialize(doc, lineBreak, indent); //noexcept
saveStream(stream, filename); //throw XmlFileError
}
diff --git a/zenXml/zenxml/dom.h b/zenXml/zenxml/dom.h
index 566af330..8793d5bd 100755
--- a/zenXml/zenxml/dom.h
+++ b/zenXml/zenxml/dom.h
@@ -147,10 +147,10 @@ public:
{
public:
using iterator_category = std::input_iterator_tag;
- using value_type = T;
- using difference_type = std::ptrdiff_t;
- using pointer = T*;
- using reference = T&;
+ using value_type = T;
+ using difference_type = ptrdiff_t;
+ using pointer = T*;
+ using reference = T&;
PtrIter(IterTy it) : it_(it) {}
PtrIter(const PtrIter& other) : it_(other.it_) {}
diff --git a/zenXml/zenxml/parser.h b/zenXml/zenxml/parser.h
index 76497ce7..a3975297 100755
--- a/zenXml/zenxml/parser.h
+++ b/zenXml/zenxml/parser.h
@@ -30,7 +30,7 @@ namespace zen
*/
std::string serialize(const XmlDoc& doc,
const std::string& lineBreak = "\r\n",
- const std::string& indent = " "); //throw ()
+ const std::string& indent = " "); //noexcept
///Exception thrown due to an XML parsing error
struct XmlParsingError : public XmlError
bgstack15