mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-07 15:10:47 +02:00
useless semicolon removal
This commit is contained in:
parent
25e8c7d3f1
commit
9a02545d9e
9 changed files with 12 additions and 12 deletions
|
@ -27,4 +27,4 @@ EditPacketBuffer::EditPacketBuffer(PacketType type, unsigned char* buffer, size_
|
|||
_satoshiCost(satoshiCost)
|
||||
{
|
||||
memcpy(_currentBuffer, buffer, length);
|
||||
};
|
||||
}
|
|
@ -34,7 +34,7 @@ public:
|
|||
|
||||
virtual bool process();
|
||||
|
||||
NodeToJurisdictionMap* getJurisdictions() { return &_jurisdictions; };
|
||||
NodeToJurisdictionMap* getJurisdictions() { return &_jurisdictions; }
|
||||
|
||||
|
||||
NodeType_t getNodeType() const { return _nodeType; }
|
||||
|
|
|
@ -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; }
|
||||
|
||||
|
|
|
@ -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; }
|
||||
|
|
|
@ -17,7 +17,7 @@ OctreeElementBag::OctreeElementBag() :
|
|||
{
|
||||
OctreeElement::addDeleteHook(this);
|
||||
_hooked = true;
|
||||
};
|
||||
}
|
||||
|
||||
OctreeElementBag::~OctreeElementBag() {
|
||||
unhookNotifications();
|
||||
|
|
|
@ -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; }
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -110,7 +110,7 @@ public:
|
|||
|
||||
BoundingBox getBoundingBox() const {
|
||||
return BoundingBox(glm::vec2(_minX,_minY), glm::vec2(_maxX - _minX, _maxY - _minY));
|
||||
};
|
||||
}
|
||||
|
||||
void printDebugDetails() const;
|
||||
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue