diff options
| author | Kevin Smith <git@kismith.co.uk> | 2019-07-19 13:01:51 (GMT) |
|---|---|---|
| committer | Kevin Smith <git@kismith.co.uk> | 2020-01-09 15:48:42 (GMT) |
| commit | 3d00d04ffbf40845058f6ede4da2592bb27a255d (patch) | |
| tree | b12dc80807e68cfdf901ea3bc6f469298894a3a6 /Swiften/JID/JID.h | |
| parent | 261ba8d8595ed8cb90f9c4feb1d6ef642942bcba (diff) | |
| download | swift-3d00d04ffbf40845058f6ede4da2592bb27a255d.zip swift-3d00d04ffbf40845058f6ede4da2592bb27a255d.tar.bz2 | |
Add copy/move ctors for JIDs
Test-Information:
Unit tests still pass.
Change-Id: I4e5b63104e482a79a933f337082c579db7bb8cff
Diffstat (limited to 'Swiften/JID/JID.h')
| -rw-r--r-- | Swiften/JID/JID.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Swiften/JID/JID.h b/Swiften/JID/JID.h index e98b796..aecc7cb 100644 --- a/Swiften/JID/JID.h +++ b/Swiften/JID/JID.h @@ -75,6 +75,11 @@ namespace Swift { */ JID(const std::string& node, const std::string& domain, const std::string& resource); + JID(const JID& other); + JID(JID&& other); + JID& operator=(const JID& other); + JID& operator=(JID&& other); + /** * @return Is a correctly-formatted JID. */ |
Swift