Update to clang-format-18

Update to clang-format-18
Code changes related to clang-format-18
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2025-04-11 18:34:32 +02:00
1 parent b6b1bf053e
commit 892d7251ee
49 files changed
+137 -421

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ public:
public: // protected: // Should be protected but this friending does not work on gcc 4.1.2
// Interface to be implement by subclass
virtual void init(){};
virtual void init() {};
virtual bool handleInputEvent( QInputEvent* inputEvent ) = 0;
virtual void setView( const cvf::Vec3d& alongDirection, const cvf::Vec3d& upDirection ) = 0;
virtual cvf::Vec3d pointOfInterest();
+1 -1
View File
@@ -98,7 +98,7 @@ public:
}
cvf::UniformSet* uniformSet() override { return m_uniformSet.p(); }
void update( cvf::Rendering* rendering ) override{};
void update( cvf::Rendering* rendering ) override {};
private:
cvf::ref<cvf::UniformSet> m_uniformSet;
+1 -1
View File
@@ -193,7 +193,7 @@ public:
protected:
// Method to override if painting directly on the OpenGl Canvas is needed.
virtual void paintOverlayItems( QPainter* painter ){};
virtual void paintOverlayItems( QPainter* painter ) {};
void onWidgetOpenGLReady() override;