summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2014-01-18 18:33:52 (GMT)
committerSwift Review <review@swift.im>2014-02-13 10:56:56 (GMT)
commitba0a79a6fa68f2757795e96a22ff310ebe41a715 (patch)
tree905b4645ce2141c2b63dc574cb3a9ac751fe0e63 /Swiften/Elements/Whiteboard
parentf44ea24fda0f08195180215a30bc626d7c1907c5 (diff)
downloadswift-ba0a79a6fa68f2757795e96a22ff310ebe41a715.zip
swift-ba0a79a6fa68f2757795e96a22ff310ebe41a715.tar.bz2
Fix clang warnings
Change-Id: I7cd26f00f626b64da934e9f5594db393d6184b9c
Diffstat (limited to 'Swiften/Elements/Whiteboard')
-rw-r--r--Swiften/Elements/Whiteboard/WhiteboardDeleteOperation.h3
-rw-r--r--Swiften/Elements/Whiteboard/WhiteboardInsertOperation.h3
-rw-r--r--Swiften/Elements/Whiteboard/WhiteboardOperation.h3
-rw-r--r--Swiften/Elements/Whiteboard/WhiteboardUpdateOperation.h3
4 files changed, 3 insertions, 9 deletions
diff --git a/Swiften/Elements/Whiteboard/WhiteboardDeleteOperation.h b/Swiften/Elements/Whiteboard/WhiteboardDeleteOperation.h
index 091ee30..95015c9 100644
--- a/Swiften/Elements/Whiteboard/WhiteboardDeleteOperation.h
+++ b/Swiften/Elements/Whiteboard/WhiteboardDeleteOperation.h
@@ -15,9 +15,6 @@ namespace Swift {
public:
typedef boost::shared_ptr<WhiteboardDeleteOperation> ref;
public:
- ~WhiteboardDeleteOperation() {
- }
-
std::string getElementID() const {
return elementID_;
}
diff --git a/Swiften/Elements/Whiteboard/WhiteboardInsertOperation.h b/Swiften/Elements/Whiteboard/WhiteboardInsertOperation.h
index 8c20044..fd52405 100644
--- a/Swiften/Elements/Whiteboard/WhiteboardInsertOperation.h
+++ b/Swiften/Elements/Whiteboard/WhiteboardInsertOperation.h
@@ -15,9 +15,6 @@ namespace Swift {
public:
typedef boost::shared_ptr<WhiteboardInsertOperation> ref;
public:
- ~WhiteboardInsertOperation() {
- }
-
WhiteboardElement::ref getElement() const {
return element_;
}
diff --git a/Swiften/Elements/Whiteboard/WhiteboardOperation.h b/Swiften/Elements/Whiteboard/WhiteboardOperation.h
index 75f6e6a..497d551 100644
--- a/Swiften/Elements/Whiteboard/WhiteboardOperation.h
+++ b/Swiften/Elements/Whiteboard/WhiteboardOperation.h
@@ -6,6 +6,7 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <boost/smart_ptr/shared_ptr.hpp>
#include <string>
@@ -14,6 +15,8 @@ namespace Swift {
public:
typedef boost::shared_ptr<WhiteboardOperation> ref;
public:
+ WhiteboardOperation() {}
+ SWIFTEN_DEFAULT_COPY_CONSTRUCTOR(WhiteboardOperation)
virtual ~WhiteboardOperation(){}
std::string getID() const {
diff --git a/Swiften/Elements/Whiteboard/WhiteboardUpdateOperation.h b/Swiften/Elements/Whiteboard/WhiteboardUpdateOperation.h
index a52a341..a68cc7d 100644
--- a/Swiften/Elements/Whiteboard/WhiteboardUpdateOperation.h
+++ b/Swiften/Elements/Whiteboard/WhiteboardUpdateOperation.h
@@ -15,9 +15,6 @@ namespace Swift {
public:
typedef boost::shared_ptr<WhiteboardUpdateOperation> ref;
public:
- ~WhiteboardUpdateOperation() {
- }
-
WhiteboardElement::ref getElement() const {
return element_;
}