diff --git a/hueplusplus/Hue.cpp b/hueplusplus/Hue.cpp index d63c0a3..ee703d0 100644 --- a/hueplusplus/Hue.cpp +++ b/hueplusplus/Hue.cpp @@ -60,7 +60,7 @@ std::vector HueFinder::FindBridges() const std::smatch matchResult; if (std::regex_search(desc, manufRegex) && std::regex_search(desc, manURLRegex) && std::regex_search(desc, modelRegex) && std::regex_search(desc, matchResult, serialRegex)) { - //The string matcheshttps://github.com/enwi/hueplusplus + //The string matches //Get 1st submatch (0 is whole match) bridge.mac = matchResult[1].str(); foundBridges.push_back(std::move(bridge)); diff --git a/hueplusplus/include/Hue.h b/hueplusplus/include/Hue.h index 4b73d58..c1d12af 100644 --- a/hueplusplus/include/Hue.h +++ b/hueplusplus/include/Hue.h @@ -83,7 +83,7 @@ public: private: //! \brief Normalizes mac address to plain hex number. - //! returns \c input without separators and whitespace, in upper case. + //! \returns \p input without separators and whitespace, in upper case. static std::string NormalizeMac(std::string input); std::map usernames; //!< Maps all macs to usernames added by \ref HueFinder::AddUsername