--- a/src/ringFinder.h Thu Jan 04 19:40:52 2018 +0200 +++ b/src/ringFinder.h Thu Jan 04 19:44:26 2018 +0200 @@ -39,10 +39,10 @@ class Solution { public: - inline void addComponent (const Component& a); + inline void addComponent(const Component& a); inline const QVector<Component>& getComponents() const; - void scaleComponents (double scale); - bool isSuperiorTo (const Solution* other) const; + void scaleComponents(double scale); + bool isSuperiorTo(const Solution* other) const; private: QVector<Component> m_components; @@ -52,14 +52,14 @@ inline const QVector<Solution>& allSolutions() const; inline const Solution* bestSolution() const; - bool findRings (double r0, double r1); + bool findRings(double r0, double r1); private: QVector<Solution> m_solutions; const Solution* m_bestSolution; int m_stack; - bool findRingsRecursor (double r0, double r1, Solution& currentSolution); + bool findRingsRecursor(double r0, double r1, Solution& currentSolution); }; // @@ -73,9 +73,9 @@ // // Adds a component to a solution // -inline void RingFinder::Solution::addComponent (const Component& a) +inline void RingFinder::Solution::addComponent(const Component& a) { - m_components.push_back (a); + m_components.push_back(a); } //