summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-16 12:44:31 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-16 12:44:31 +0100
commit760ce54a39af82c0f4ea35f836228ce239d5a76d (patch)
treeed8985e56997116622ece3557392a9410039d5f9
parent7b4ecc3c15270bd4018c3d44f4107b4d707a841b (diff)
Add ConstNodePtr.
-rw-r--r--src/cxml.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cxml.h b/src/cxml.h
index 4ae82dc..0f57b92 100644
--- a/src/cxml.h
+++ b/src/cxml.h
@@ -208,6 +208,7 @@ private:
};
typedef boost::shared_ptr<cxml::Node> NodePtr;
+typedef boost::shared_ptr<const cxml::Node> ConstNodePtr;
class Document : public Node
{