aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hash.h5
-rw-r--r--src/tests/xmlreadtest.cpp4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/hash.h b/src/hash.h
index dcf65ae..d847add 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -164,6 +164,11 @@ public:
164 return nFilled; 164 return nFilled;
165 } 165 }
166 166
167 uint32_t size()
168 {
169 return nFilled;
170 }
171
167 uint32_t getDeleted() 172 uint32_t getDeleted()
168 { 173 {
169 return nDeleted; 174 return nDeleted;
diff --git a/src/tests/xmlreadtest.cpp b/src/tests/xmlreadtest.cpp
index 98d8a9e..d061810 100644
--- a/src/tests/xmlreadtest.cpp
+++ b/src/tests/xmlreadtest.cpp
@@ -20,8 +20,8 @@ int main( int argc, char *argv[] )
20 else if( argv[1][0] == 's' ) 20 else if( argv[1][0] == 's' )
21 { 21 {
22 XmlStringReader r( argv[2], true ); 22 XmlStringReader r( argv[2], true );
23// XmlWriter w( argv[3], "\t", r.detatchRoot() ); 23 XmlFileWriter w(stdout, "\t", r.detatchRoot() );
24// w.write(); 24 w.write();
25 } 25 }
26 26
27 return 0; 27 return 0;