summaryrefslogtreecommitdiff
path: root/splash
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2019-09-27 23:23:24 +0200
committerAlbert Astals Cid <aacid@kde.org>2019-09-30 14:52:59 +0200
commitdbd3e82f648df57cf2b4c26a0bc016c983f79138 (patch)
tree73226d7fde5066d863869ee18d5c3cf69ba8cb97 /splash
parent7b9aa28e5eb613e7a9d7c6c688aea4025a35543a (diff)
Run clang-tidy on CI
Only with the performance- checks enabled for now
Diffstat (limited to 'splash')
-rw-r--r--splash/SplashPath.cc4
-rw-r--r--splash/SplashPath.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/splash/SplashPath.cc b/splash/SplashPath.cc
index 163ab77a..32bbd4f1 100644
--- a/splash/SplashPath.cc
+++ b/splash/SplashPath.cc
@@ -12,7 +12,7 @@
// under GPL version 2 or later
//
// Copyright (C) 2018 Stefan Brüns <stefan.bruens@rwth-aachen.de>
-// Copyright (C) 2018 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2018, 2019 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2018 Adam Reichold <adam.reichold@t-online.de>
//
// To see a description of the changes please see the Changelog file that
@@ -69,7 +69,7 @@ SplashPath::SplashPath(SplashPath *path) {
}
}
-SplashPath::SplashPath(SplashPath&& path) {
+SplashPath::SplashPath(SplashPath&& path) noexcept {
length = path.length;
size = path.size;
pts = path.pts;
diff --git a/splash/SplashPath.h b/splash/SplashPath.h
index e20d5335..95514b47 100644
--- a/splash/SplashPath.h
+++ b/splash/SplashPath.h
@@ -11,7 +11,7 @@
// All changes made under the Poppler project to this file are licensed
// under GPL version 2 or later
//
-// Copyright (C) 2018 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2018, 2019 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2018 Stefan Brüns <stefan.bruens@rwth-aachen.de>
//
// To see a description of the changes please see the Changelog file that
@@ -75,7 +75,7 @@ public:
SplashPath(const SplashPath&) = delete;
SplashPath& operator=(const SplashPath&) = delete;
- SplashPath(SplashPath&& path);
+ SplashPath(SplashPath&& path) noexcept;
// Append <path> to <this>.
void append(SplashPath *path);