summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Server/SimpleUserRegistry.h')
-rw-r--r--Swiften/Server/SimpleUserRegistry.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Swiften/Server/SimpleUserRegistry.h b/Swiften/Server/SimpleUserRegistry.h
index 022e017..5de9f64 100644
--- a/Swiften/Server/SimpleUserRegistry.h
+++ b/Swiften/Server/SimpleUserRegistry.h
@@ -9,20 +9,20 @@
#include <map>
#include "Swiften/JID/JID.h"
-#include "Swiften/Base/String.h"
+#include <string>
#include "Swiften/Server/UserRegistry.h"
namespace Swift {
- class String;
+
class SimpleUserRegistry : public UserRegistry {
public:
SimpleUserRegistry();
- virtual bool isValidUserPassword(const JID& user, const String& password) const;
- void addUser(const JID& user, const String& password);
+ virtual bool isValidUserPassword(const JID& user, const std::string& password) const;
+ void addUser(const JID& user, const std::string& password);
private:
- std::map<JID, String> users;
+ std::map<JID, std::string> users;
};
}