diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-11-21 00:59:21 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-11-21 01:01:05 (GMT) |
commit | 2c8bfd7c49bd16bebbf0b89c01fce7817afab74f (patch) | |
tree | 1a7c73d4aaf81a1e243ee6f50de0385e9e6a081f /Swiften/Base | |
parent | fe007f1afdaf29c7ce0302da2984b5611503a822 (diff) | |
download | swift-2c8bfd7c49bd16bebbf0b89c01fce7817afab74f.zip swift-2c8bfd7c49bd16bebbf0b89c01fce7817afab74f.tar.bz2 |
Implemented SCRAM-SHA-1 for real now.
Still need to do some cleanup and polishing.
Diffstat (limited to 'Swiften/Base')
-rw-r--r-- | Swiften/Base/String.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Base/String.h b/Swiften/Base/String.h index c4a44a3..0a5530c 100644 --- a/Swiften/Base/String.h +++ b/Swiften/Base/String.h @@ -94,6 +94,10 @@ namespace Swift { return *this; } + char operator[](size_t i) const { + return data_[i]; + } + friend bool operator>(const String& a, const String& b) { return a.data_ > b.data_; } |