projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove warnings (work package 1)
[anna.git]
/
include
/
anna
/
xml
/
Node.hpp
diff --git
a/include/anna/xml/Node.hpp
b/include/anna/xml/Node.hpp
index
a8579b7
..
7050a81
100644
(file)
--- a/
include/anna/xml/Node.hpp
+++ b/
include/anna/xml/Node.hpp
@@
-458,10
+458,15
@@
private:
static const Attribute* find(const char* attrName, const_attribute_iterator, const_attribute_iterator) throw();
static const Attribute* find(const char* attrName, const_attribute_iterator, const_attribute_iterator) throw();
+ // Allow sort in compiler
+ attribute_iterator attribute_begin() throw() { return a_attributes.begin(); }
+ attribute_iterator attribute_end() throw() { return a_attributes.end(); }
+
friend class Parser;
friend class Allocator<Node>;
friend class XPath;
friend class Decompressor;
friend class Parser;
friend class Allocator<Node>;
friend class XPath;
friend class Decompressor;
+ friend class Compiler;
};
}
};
}