diff options
Diffstat (limited to 'Swiften/Elements/VCard.h')
-rw-r--r-- | Swiften/Elements/VCard.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Elements/VCard.h b/Swiften/Elements/VCard.h index cb05056..f9822c9 100644 --- a/Swiften/Elements/VCard.h +++ b/Swiften/Elements/VCard.h @@ -60,10 +60,10 @@ namespace Swift { const std::string& getNickname() const { return nick_; } void setPhoto(const ByteArray& photo) { photo_ = photo; } - const ByteArray& getPhoto() { return photo_; } + const ByteArray& getPhoto() const { return photo_; } void setPhotoType(const std::string& photoType) { photoType_ = photoType; } - const std::string& getPhotoType() { return photoType_; } + const std::string& getPhotoType() const { return photoType_; } const std::string& getUnknownContent() const { return unknownContent_; } void addUnknownContent(const std::string& c) { |