diff options
Diffstat (limited to 'src/net/message.cpp')
-rw-r--r-- | src/net/message.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net/message.cpp b/src/net/message.cpp index 0c55d1da..98ba4228 100644 --- a/src/net/message.cpp +++ b/src/net/message.cpp @@ -24,21 +24,21 @@ namespace vmime { namespace net { -const part& part::operator[](const int x) const +ref <const part> part::getPartAt(const int pos) const { - return (getStructure()[x]); + return getStructure()->getPartAt(pos); } -part& part::operator[](const int x) +ref <part> part::getPartAt(const int pos) { - return (getStructure()[x]); + return getStructure()->getPartAt(pos); } -const int part::getCount() const +const int part::getPartCount() const { - return (getStructure().getCount()); + return getStructure()->getPartCount(); } |