style cleanup
authorCampbell Barton <ideasman42@gmail.com>
Thu, 20 Sep 2012 01:32:13 +0000 (01:32 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 20 Sep 2012 01:32:13 +0000 (01:32 +0000)
12 files changed:
intern/ghost/GHOST_Rect.h
intern/ghost/intern/GHOST_NDOFManager.h
intern/ghost/intern/GHOST_SystemPaths.h
intern/ghost/intern/GHOST_Window.h
intern/iksolver/intern/IK_QJacobianSolver.h
intern/iksolver/intern/IK_QSegment.h
intern/iksolver/intern/IK_QTask.h
intern/iksolver/intern/IK_Solver.cpp
intern/iksolver/intern/MT_ExpMap.h
intern/iksolver/intern/TNT/cmat.h
intern/iksolver/intern/TNT/vec.h
source/blender/compositor/intern/COM_OutputSocket.h

index e52d6a7e6a0b1296656d2631859e84f57e7f9ce0..aa7969d68ad73eb085ab25a5bd37b8a2eecbaa74 100644 (file)
@@ -70,8 +70,7 @@ public:
        /**
         * Destructor.
         */
-       virtual ~GHOST_Rect()
-       {};
+       virtual ~GHOST_Rect() {}
 
        /**
         * Access to rectangle width.
index 2baf0f6fa4213283322a86b75b1c2ed658c71dc3..2c213752f94cafef8c9854457aeaddc95c709817 100644 (file)
@@ -107,7 +107,7 @@ class GHOST_NDOFManager
 public:
        GHOST_NDOFManager(GHOST_System&);
 
-       virtual ~GHOST_NDOFManager() {};
+       virtual ~GHOST_NDOFManager() {}
 
        // whether multi-axis functionality is available (via the OS or driver)
        // does not imply that a device is plugged in or being used
index 53cad34729329e4b6462c61234cf53e240d6cd17..22879c71e1e4701c70706d9dff713fd16b48c21c 100644 (file)
@@ -40,13 +40,13 @@ protected:
         * Constructor.
         * Protected default constructor to force use of static createSystem member.
         */
-       GHOST_SystemPaths() {};
+       GHOST_SystemPaths() {}
 
        /**
         * Destructor.
         * Protected default constructor to force use of static dispose member.
         */
-       virtual ~GHOST_SystemPaths() {};
+       virtual ~GHOST_SystemPaths() {}
 
 public:
 
index 3043b107aa1b6c45e4ee759622d7b69d0d26a721..fe21b91b991cce1b633f36c2064f603f10685842 100644 (file)
@@ -192,14 +192,14 @@ public:
         */
        virtual GHOST_TSuccess setProgressBar(float progress) {
                return GHOST_kFailure;
-       };
+       }
        
        /**
         * Hides the progress bar in the icon
         */
        virtual GHOST_TSuccess endProgressBar() {
                return GHOST_kFailure;
-       };
+       }
        
        /**
         * Tells if the ongoing drag'n'drop object can be accepted upon mouse drop
@@ -284,7 +284,7 @@ protected:
         */
        virtual GHOST_TSuccess setWindowCursorGrab(GHOST_TGrabCursorMode mode) {
                return GHOST_kSuccess;
-       };
+       }
        
        /**
         * Sets the cursor shape on the window using
index ead2b150b40fc427bc598254abeeb15c93de4135..646f952b9ffc0c277c995110ec7956ca0e6bf6be 100644 (file)
@@ -53,12 +53,12 @@ class IK_QJacobianSolver
 {
 public:
        IK_QJacobianSolver();
-       ~IK_QJacobianSolver() {};
+       ~IK_QJacobianSolver() {}
 
        // setup pole vector constraint
        void SetPoleVectorConstraint(IK_QSegment *tip, MT_Vector3& goal,
                MT_Vector3& polegoal, float poleangle, bool getangle);
-       float GetPoleAngle() { return m_poleangle; };
+       float GetPoleAngle() { return m_poleangle; }
 
        // call setup once before solving, if it fails don't solve
        bool Setup(IK_QSegment *root, std::list<IK_QTask*>& tasks);
index 25a8fbc08041206db891d5de4c7b0a2ef5403a67..b40bf3739ffe874b248abd3512c1a3ad0ec66276 100644 (file)
@@ -158,10 +158,10 @@ public:
        virtual void UpdateAngleApply()=0;
 
        // set joint limits
-       virtual void SetLimit(int, MT_Scalar, MT_Scalar) {};
+       virtual void SetLimit(int, MT_Scalar, MT_Scalar) {}
 
        // set joint weights (per axis)
-       virtual void SetWeight(int, MT_Scalar) {};
+       virtual void SetWeight(int, MT_Scalar) {}
 
        virtual void SetBasis(const MT_Matrix3x3& basis) { m_basis = basis; }
 
index 45b1e59e606f50842a018f7a2fea37e268670987..baf1c346d6233462560c786653626ed9eb9d6171 100644 (file)
@@ -49,7 +49,7 @@ public:
                bool active,
                const IK_QSegment *segment
        );
-       virtual ~IK_QTask() {};
+       virtual ~IK_QTask() {}
 
        int Id() const
        { return m_size; }
@@ -119,7 +119,7 @@ public:
                const MT_Matrix3x3& goal
        );
 
-       MT_Scalar Distance() const { return m_distance; };
+       MT_Scalar Distance() const { return m_distance; }
        void ComputeJacobian(IK_QJacobian& jacobian);
 
 private:
index ef4ab1f2f914b679283c85140ca1cf54895a1dbf..c1a4ffcb1e82f09b24f2cb8b7aed64386b00821f 100644 (file)
@@ -43,7 +43,7 @@ using namespace std;
 class IK_QSolver {
 public:
        IK_QSolver() : root(NULL) {
-       };
+       }
 
        IK_QJacobianSolver solver;
        IK_QSegment *root;
index 9485428dc9fe2066948c72adaa2b21346a1b0bbb..65bbe4d4ad5b1d9ce441ab041012f3b2af4a6862 100644 (file)
@@ -103,7 +103,7 @@ public:
                const MT_Quaternion &q
        ) {
                setRotation(q);
-       };
+       }
 
        /** 
         * Accessors
@@ -118,7 +118,7 @@ public:
        vector(
        ) const {
                return m_v;
-       };
+       }
 
        /** 
         * Set the exponential map from a quaternion
index 146afdc79d78b40528a09c429b56b157840fc0c9..fd3a1851262012dbaf7bbc7cc60ba681c2f3dea4 100644 (file)
@@ -182,7 +182,7 @@ class Matrix
 
     // constructors
 
-    Matrix() : m_(0), n_(0), mn_(0), v_(0), row_(0), vm1_(0), rowm1_(0) {};
+    Matrix() : m_(0), n_(0), mn_(0), v_(0), row_(0), vm1_(0), rowm1_(0) {}
 
     Matrix(const Matrix<T> &A)
     {
index ff1b5c0ea0ef46b775bda3a2e6380999426c6ad0..5d4ef14bf7349e754bd3d89bd28dd15f78b51e9c 100644 (file)
@@ -164,7 +164,7 @@ class Vector
 
     // constructors
 
-    Vector() : v_(0), vm1_(0), n_(0)  {};
+    Vector() : v_(0), vm1_(0), n_(0)  {}
 
     Vector(const Vector<T> &A) : v_(0), vm1_(0), n_(0)
     {
index dc5ca27cbdaa4de8a25462e349f33f770cda051d..c6b7993c561432b8bc4623571b5d3ecc7c312573 100644 (file)
@@ -64,7 +64,7 @@ public:
        /**
         * @brief determine the actual data type and channel info.
         */
-       void relinkConnections(OutputSocket *relinkToSocket) { this->relinkConnections(relinkToSocket, false); };
+       void relinkConnections(OutputSocket *relinkToSocket) { this->relinkConnections(relinkToSocket, false); }
        void relinkConnections(OutputSocket *relinkToSocket, bool single);
        const int getNumberOfConnections() { return this->m_connections.size(); }