diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-11-21 09:12:43 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-11-21 11:16:24 +0100 |
commit | b3f766154c0fbf2fbddd815c969e3f24925cf31e (patch) | |
tree | cf34b884c04f11012d33c48d95cc804a8329de53 /sccomp | |
parent | 46ab76a7090b5e04105986df16efaa63ea0cc58a (diff) |
clang-format fixes
Hopefully the last such commit, now that the in-gerrit verification is
in place and also a warning is printed locally for those who push
directly.
Change-Id: Ib80cbca0b29dc7f71cbb182a38ad6839a659ff41
Reviewed-on: https://gerrit.libreoffice.org/45002
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
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(); |