summaryrefslogtreecommitdiff
path: root/sccomp/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-11-21 09:12:43 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-11-21 11:16:24 +0100
commitb3f766154c0fbf2fbddd815c969e3f24925cf31e (patch)
treecf34b884c04f11012d33c48d95cc804a8329de53 /sccomp/source
parent46ab76a7090b5e04105986df16efaa63ea0cc58a (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/source')
-rw-r--r--sccomp/source/solver/SwarmSolver.cxx8
1 files changed, 2 insertions, 6 deletions
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();