diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-04-17 08:39:27 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-04-23 06:51:00 (GMT) |
commit | fad3b1ded1f8a534c09b7f92a1fbe39e9ffd3955 (patch) | |
tree | 5d53a42acb88932604e34e7f7ab26ed9fcf5549c | |
parent | 33ee4f15913e7e259a016231d76001e9406c2220 (diff) | |
download | swift-contrib-fad3b1ded1f8a534c09b7f92a1fbe39e9ffd3955.zip swift-contrib-fad3b1ded1f8a534c09b7f92a1fbe39e9ffd3955.tar.bz2 |
Don't initialise with temporaries, fix warnings
-rw-r--r-- | Swift/Controllers/UIEvents/RequestAddUserDialogUIEvent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/Controllers/UIEvents/RequestAddUserDialogUIEvent.h b/Swift/Controllers/UIEvents/RequestAddUserDialogUIEvent.h index 26f48cb..42be4f3 100644 --- a/Swift/Controllers/UIEvents/RequestAddUserDialogUIEvent.h +++ b/Swift/Controllers/UIEvents/RequestAddUserDialogUIEvent.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Kevin Smith + * Copyright (c) 2010-2012 Kevin Smith * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ @@ -16,7 +16,7 @@ namespace Swift { public: RequestAddUserDialogUIEvent(const JID& predefinedJID, const std::string& predefinedName) : preJID_(predefinedJID), preName_(predefinedName) {}; - RequestAddUserDialogUIEvent() : preJID_(JID()), preName_(std::string()) {}; + RequestAddUserDialogUIEvent() : preJID_(), preName_() {}; const JID& getPredefinedJID() const { return preJID_; }; const std::string& getPredefinedName() const { return preName_; }; |