diff options
Diffstat (limited to 'sccomp')
-rw-r--r-- | sccomp/qa/unit/SwarmSolverTest.cxx | 1 | ||||
-rw-r--r-- | sccomp/source/solver/SwarmSolver.cxx | 8 |
2 files changed, 2 insertions, 7 deletions
diff --git a/sccomp/qa/unit/SwarmSolverTest.cxx b/sccomp/qa/unit/SwarmSolverTest.cxx index fd1bac2d0090..918cd9103021 100644 --- a/sccomp/qa/unit/SwarmSolverTest.cxx +++ b/sccomp/qa/unit/SwarmSolverTest.cxx @@ -27,7 +27,6 @@ using namespace css; namespace { - class SwarmSolverTest : public CalcUnoApiTest { uno::Reference<lang::XComponent> mxComponent; diff --git a/sccomp/source/solver/SwarmSolver.cxx b/sccomp/source/solver/SwarmSolver.cxx index 5d4ba1138602..295a4a7e7224 100644 --- a/sccomp/source/solver/SwarmSolver.cxx +++ b/sccomp/source/solver/SwarmSolver.cxx @@ -47,7 +47,6 @@ using namespace css; namespace { - struct Bound { double lower; @@ -468,16 +467,13 @@ public: { } - void setTimeout(double fTimeout) - { - mfTimeout = fTimeout; - } + void setTimeout(double fTimeout) { mfTimeout = fTimeout; } std::vector<double> const& solve() { using std::chrono::duration_cast; - using std::chrono::milliseconds; using std::chrono::high_resolution_clock; + using std::chrono::milliseconds; mrAlgorithm.initialize(); |