summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-08-31 09:12:15 -0700
committerPatrick Venture <venture@google.com>2018-08-31 09:15:13 -0700
commit0b5d1e013f79546a12abf5648906ad08ca4df0f4 (patch)
treecec2301f487eb0dec607b06362969eb7cb3d22a5
parent8ce61e4e20a11fbb605cd29f07a820213dbcf91e (diff)
downloadsdbusplus-0b5d1e013f79546a12abf5648906ad08ca4df0f4.tar.gz
sdbusplus-0b5d1e013f79546a12abf5648906ad08ca4df0f4.zip
clang-format-6.0 bump fixes
The bump to use clang-format-6.0 now reports these issues. Change-Id: Ice27766e161356f08c98923a256a98af787ac8a2 Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r--mapbox/variant.hpp2
-rw-r--r--sdbusplus/server/bindings.hpp8
-rw-r--r--test/exception/sdbus_error.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/mapbox/variant.hpp b/mapbox/variant.hpp
index 37c736d..46db853 100644
--- a/mapbox/variant.hpp
+++ b/mapbox/variant.hpp
@@ -1058,7 +1058,7 @@ auto VARIANT_INLINE apply_visitor(F&& f, V& v0, V& v1)
return V::binary_visit(v0, v1, std::forward<F>(f));
}
- // getter interface
+// getter interface
#ifdef HAS_EXCEPTIONS
template <typename ResultType, typename T>
diff --git a/sdbusplus/server/bindings.hpp b/sdbusplus/server/bindings.hpp
index 9d67ae3..af57845 100644
--- a/sdbusplus/server/bindings.hpp
+++ b/sdbusplus/server/bindings.hpp
@@ -21,7 +21,7 @@ template <typename T> T&& convertForMessage(T&& t)
{
return std::forward<T>(t);
}
-}
-}
-}
-}
+} // namespace details
+} // namespace binding
+} // namespace server
+} // namespace sdbusplus
diff --git a/test/exception/sdbus_error.cpp b/test/exception/sdbus_error.cpp
index 762e4ef..c1d8baa 100644
--- a/test/exception/sdbus_error.cpp
+++ b/test/exception/sdbus_error.cpp
@@ -14,8 +14,8 @@ namespace
{
using sdbusplus::exception::SdBusError;
-using testing::Return;
using testing::_;
+using testing::Return;
TEST(SdBusError, BasicErrno)
{
OpenPOWER on IntegriCloud