Commit dd412fe19ce45f25364f7ba6d0dbaea9b0e06bf2
Committed by
Jan
1 parent
7b1ff18f
Fix comment typos.
Showing
2 changed files
with
2 additions
and
2 deletions
hueplusplus/Hue.cpp
| ... | ... | @@ -60,7 +60,7 @@ std::vector<HueFinder::HueIdentification> HueFinder::FindBridges() const |
| 60 | 60 | std::smatch matchResult; |
| 61 | 61 | if (std::regex_search(desc, manufRegex) && std::regex_search(desc, manURLRegex) && std::regex_search(desc, modelRegex) && std::regex_search(desc, matchResult, serialRegex)) |
| 62 | 62 | { |
| 63 | - //The string matcheshttps://github.com/enwi/hueplusplus | |
| 63 | + //The string matches | |
| 64 | 64 | //Get 1st submatch (0 is whole match) |
| 65 | 65 | bridge.mac = matchResult[1].str(); |
| 66 | 66 | foundBridges.push_back(std::move(bridge)); | ... | ... |
hueplusplus/include/Hue.h
| ... | ... | @@ -83,7 +83,7 @@ public: |
| 83 | 83 | |
| 84 | 84 | private: |
| 85 | 85 | //! \brief Normalizes mac address to plain hex number. |
| 86 | - //! returns \c input without separators and whitespace, in upper case. | |
| 86 | + //! \returns \p input without separators and whitespace, in upper case. | |
| 87 | 87 | static std::string NormalizeMac(std::string input); |
| 88 | 88 | |
| 89 | 89 | std::map<std::string, std::string> usernames; //!< Maps all macs to usernames added by \ref HueFinder::AddUsername | ... | ... |