summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-04-21 15:44:20 +0200
committerGravatar Nikias Bassen2023-04-21 15:44:20 +0200
commit7b94db81220316250bc124830c2f0ed5fd78ec62 (patch)
tree1a2fa44b28e4cf85ae5a21ad01cd69413c73465c /include
parent8c2844c2c220c9c745c3adde4a0a526e7279f9b4 (diff)
downloadlibplist-7b94db81220316250bc124830c2f0ed5fd78ec62.tar.gz
libplist-7b94db81220316250bc124830c2f0ed5fd78ec62.tar.bz2
Remove unnecessary const to silence compiler warning
Diffstat (limited to 'include')
-rw-r--r--include/plist/Array.h2
-rw-r--r--include/plist/Dictionary.h2
2 files changed, 2 insertions, 2 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);