Skip to content

v0.2.55..v0.2.56 changeset CollectionUtils.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/util/CollectionUtils.h b/hoot-core/src/main/cpp/hoot/core/util/CollectionUtils.h
index 75f695c..e1ba240 100644
--- a/hoot-core/src/main/cpp/hoot/core/util/CollectionUtils.h
+++ b/hoot-core/src/main/cpp/hoot/core/util/CollectionUtils.h
@@ -76,8 +76,8 @@ public:
    * Converts a stdlib set to a Qt set
    *
    * @param set the set to convert
-   * @return
-   * @note std::set is ordered and QSet
+   * @return a Qt set
+   * @note std::set is ordered and QSet is not
    */
   template<typename T>
   static QSet<T> stdSetToQSet(const std::set<T>& set)
@@ -91,6 +91,13 @@ public:
     return qSet;
   }
 
+  /**
+   * Converts a Qt set to a stdlib set
+   *
+   * @param set the set to convert
+   * @return a stdlib set
+   * @note std::set is ordered and QSet is not
+   */
   template<typename T>
   static std::set<T> qSetToStdSet(const QSet<T>& set)
   {
Clone this wiki locally