This is an automated email from the ASF dual-hosted git repository.
cliffjansen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/master by this push:
new d47160b PROTON-1990: no-op whitespace "fix". Sorry for the Windows
AppVeyor test abuse.
d47160b is described below
commit d47160b715b8d103985d0c26edbb64d8a4235708
Author: Cliff Jansen <[email protected]>
AuthorDate: Tue Feb 5 21:47:38 2019 -0800
PROTON-1990: no-op whitespace "fix". Sorry for the Windows AppVeyor test
abuse.
---
cpp/src/listener.cpp | 2 +-
cpp/src/value.cpp | 4 ++--
tools/check-abi/expand_types.cpp | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/cpp/src/listener.cpp b/cpp/src/listener.cpp
index 910be1f..8eeb305 100644
--- a/cpp/src/listener.cpp
+++ b/cpp/src/listener.cpp
@@ -32,7 +32,7 @@ namespace proton {
listener::listener(): listener_(0) {}
listener::listener(pn_listener_t* l): listener_(l) {}
-// Out-of-line big-3 with trivial implementations, in case we need them in
future.
+// Out-of-line big-3 with trivial implementations, in case we need them in
future.
listener::listener(const listener& l) : listener_(l.listener_) {}
listener::~listener() {}
listener& listener::operator=(const listener& l) { listener_ = l.listener_;
return *this; }
diff --git a/cpp/src/value.cpp b/cpp/src/value.cpp
index 016bde2..45119ed 100644
--- a/cpp/src/value.cpp
+++ b/cpp/src/value.cpp
@@ -146,12 +146,12 @@ int compare_next(decoder& a, decoder& b) {
#if defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunreachable-code"
-#endif
+#endif
// Invalid but equal type_id, treat as equal.
return 0;
#if defined(__clang__)
#pragma GCC diagnostic pop
-#endif
+#endif
}
int compare(const value& x, const value& y) {
diff --git a/tools/check-abi/expand_types.cpp b/tools/check-abi/expand_types.cpp
index 220548b..9d090ba 100644
--- a/tools/check-abi/expand_types.cpp
+++ b/tools/check-abi/expand_types.cpp
@@ -33,7 +33,7 @@ void print_type(const char* type, const char* mangled_type)
abi::__cxa_demangle(mangled_type, 0, 0, &status);
if (demangled_type) {
std::cout << "s/" << type << "/" << demangled_type << "/g\n";
- }
+ }
::free(demangled_type);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]