summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/plist/Array.h2
-rw-r--r--include/plist/Dictionary.h2
-rw-r--r--src/Array.cpp2
-rw-r--r--src/Dictionary.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/plist/Array.h b/include/plist/Array.h
index 5a685e1..0239c78 100644
--- a/include/plist/Array.h
+++ b/include/plist/Array.h
@@ -51,7 +51,7 @@ public :
const_iterator begin() const;
const_iterator End() const;
const_iterator end() const;
- const size_t size() const;
+ size_t size() const;
void Append(Node* node);
void Insert(Node* node, unsigned int pos);
void Remove(Node* node);
diff --git a/include/plist/Dictionary.h b/include/plist/Dictionary.h
index b4d49ba..583a430 100644
--- a/include/plist/Dictionary.h
+++ b/include/plist/Dictionary.h
@@ -53,7 +53,7 @@ public :
const_iterator begin() const;
const_iterator End() const;
const_iterator end() const;
- const size_t size() const;
+ size_t size() const;
const_iterator Find(const std::string& key) const;
iterator Set(const std::string& key, const Node* node);
iterator Set(const std::string& key, const Node& node);
diff --git a/src/Array.cpp b/src/Array.cpp
index 7826494..d86d021 100644
--- a/src/Array.cpp
+++ b/src/Array.cpp
@@ -128,7 +128,7 @@ Array::const_iterator Array::end() const
return _array.end();
}
-const size_t Array::size() const {
+size_t Array::size() const {
return _array.size();
}
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp
index 99e3b88..4e7e19c 100644
--- a/src/Dictionary.cpp
+++ b/src/Dictionary.cpp
@@ -134,7 +134,7 @@ Dictionary::const_iterator Dictionary::end() const
return _map.end();
}
-const size_t Dictionary::size() const {
+size_t Dictionary::size() const {
return _map.size();
}