qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject qpid-proton git commit: NO-JIRA: [cpp] Fix doxygen warnings, missing trivial comments
Date Thu, 02 Aug 2018 14:56:46 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/master d722f7df5 -> 8c3d7f491


NO-JIRA: [cpp] Fix doxygen warnings, missing trivial comments


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/8c3d7f49
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/8c3d7f49
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/8c3d7f49

Branch: refs/heads/master
Commit: 8c3d7f491575ddc78128f820a6015f3c6c273525
Parents: d722f7d
Author: Alan Conway <aconway@redhat.com>
Authored: Thu Aug 2 10:54:22 2018 -0400
Committer: Alan Conway <aconway@redhat.com>
Committed: Thu Aug 2 10:54:22 2018 -0400

----------------------------------------------------------------------
 cpp/include/proton/null.hpp  | 4 ++--
 cpp/include/proton/value.hpp | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/8c3d7f49/cpp/include/proton/null.hpp
----------------------------------------------------------------------
diff --git a/cpp/include/proton/null.hpp b/cpp/include/proton/null.hpp
index cb39325..f9c44ff 100644
--- a/cpp/include/proton/null.hpp
+++ b/cpp/include/proton/null.hpp
@@ -43,9 +43,9 @@ class null : private internal::comparable<null> {
     /// Constructed from nullptr literal
     null(decltype(nullptr)) {}
 #endif
-    // null instances are always equal
+    /// null instances are always equal
   friend bool operator==(const null&, const null&) { return true; }
-    // null instances are never unequal
+    /// null instances are never unequal
   friend bool operator<(const null&, const null&) { return false; }
 };
 

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/8c3d7f49/cpp/include/proton/value.hpp
----------------------------------------------------------------------
diff --git a/cpp/include/proton/value.hpp b/cpp/include/proton/value.hpp
index ee50cbf..896ad41 100644
--- a/cpp/include/proton/value.hpp
+++ b/cpp/include/proton/value.hpp
@@ -155,11 +155,12 @@ template<class T> void coerce(const value& v, T& x) {
     }
 }
 
-/// Special case for get<null>(), just checks that value contains NULL.
+/// Special case for null, just checks that value contains NULL.
 template<> inline void get<null>(const value& v, null&) {
     assert_type_equal(NULL_TYPE, v.type());
 }
 #if PN_CPP_HAS_NULLPTR
+/// @copybrief get<null>()
 template<> inline void get<decltype(nullptr)>(const value& v, decltype(nullptr)&)
{
     assert_type_equal(NULL_TYPE, v.type());
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message