useless semicolon removal

This commit is contained in:
ZappoMan 2014-09-03 12:26:05 -07:00
parent 25e8c7d3f1
commit 9a02545d9e
9 changed files with 12 additions and 12 deletions

View file

@ -27,4 +27,4 @@ EditPacketBuffer::EditPacketBuffer(PacketType type, unsigned char* buffer, size_
_satoshiCost(satoshiCost)
{
memcpy(_currentBuffer, buffer, length);
};
}

View file

@ -34,7 +34,7 @@ public:
virtual bool process();
NodeToJurisdictionMap* getJurisdictions() { return &_jurisdictions; };
NodeToJurisdictionMap* getJurisdictions() { return &_jurisdictions; }
NodeType_t getNodeType() const { return _nodeType; }

View file

@ -242,7 +242,7 @@ public:
/// method and return true.
virtual bool versionHasSVOfileBreaks(PacketVersion thisVersion) const { return false; }
virtual void update() { }; // nothing to do by default
virtual void update() { } // nothing to do by default
OctreeElement* getRoot() { return _rootElement; }

View file

@ -82,7 +82,7 @@ public:
// you must override these...
virtual char getMyNodeType() const = 0;
virtual void adjustEditPacketForClockSkew(PacketType type,
unsigned char* editPacketBuffer, size_t length, int clockSkew) { };
unsigned char* editPacketBuffer, size_t length, int clockSkew) { }
bool hasDestinationWalletUUID() const { return !_destinationWalletUUID.isNull(); }
void setDestinationWalletUUID(const QUuid& destinationWalletUUID) { _destinationWalletUUID = destinationWalletUUID; }

View file

@ -17,7 +17,7 @@ OctreeElementBag::OctreeElementBag() :
{
OctreeElement::addDeleteHook(this);
_hooked = true;
};
}
OctreeElementBag::~OctreeElementBag() {
unhookNotifications();

View file

@ -30,10 +30,10 @@ class OctreeHeadlessViewer : public OctreeRenderer {
public:
OctreeHeadlessViewer();
virtual ~OctreeHeadlessViewer();
virtual void renderElement(OctreeElement* element, RenderArgs* args) { /* swallow these */ };
virtual void renderElement(OctreeElement* element, RenderArgs* args) { /* swallow these */ }
virtual void init();
virtual void render(RenderMode renderMode = DEFAULT_RENDER_MODE) { /* swallow these */ };
virtual void render(RenderMode renderMode = DEFAULT_RENDER_MODE) { /* swallow these */ }
void setJurisdictionListener(JurisdictionListener* jurisdictionListener) { _jurisdictionListener = jurisdictionListener; }

View file

@ -64,7 +64,7 @@ bool BoundingBox::contains(const BoundingBox& box) const {
(box.corner.x + box.size.x <= corner.x + size.x) &&
(box.corner.y + box.size.y <= corner.y + size.y)
);
};
}
bool BoundingBox::contains(const glm::vec2& point) const {
return ( _set &&
@ -73,7 +73,7 @@ bool BoundingBox::contains(const glm::vec2& point) const {
(point.x < corner.x + size.x) &&
(point.y < corner.y + size.y)
);
};
}
void BoundingBox::explandToInclude(const BoundingBox& box) {
if (!_set) {
@ -133,7 +133,7 @@ void OctreeProjectedPolygon::setVertex(int vertex, const glm::vec2& point) {
_minY = point.y;
}
};
}
// can be optimized with new pointInside()
bool OctreeProjectedPolygon::occludes(const OctreeProjectedPolygon& occludee, bool checkAllInView) const {

View file

@ -110,7 +110,7 @@ public:
BoundingBox getBoundingBox() const {
return BoundingBox(glm::vec2(_minX,_minY), glm::vec2(_maxX - _minX, _maxY - _minY));
};
}
void printDebugDetails() const;

View file

@ -147,7 +147,7 @@ public:
/// Returns list of OctCodes for end elements of the jurisdiction of this particular octree server
const std::vector<unsigned char*>& getJurisdictionEndNodes() const { return _jurisdictionEndNodes; }
bool isMoving() const { return _isMoving; };
bool isMoving() const { return _isMoving; }
quint64 getTotalElements() const { return _totalElements; }
quint64 getTotalInternal() const { return _totalInternal; }
quint64 getTotalLeaves() const { return _totalLeaves; }