Skip to content

Commit

Permalink
NOLINTNEXTLINE
Browse files Browse the repository at this point in the history
  • Loading branch information
stuqdog committed Nov 15, 2024
1 parent d0f622e commit 069373b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/viam/sdk/common/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ bool from_dm_from_extra(const ProtoStruct& extra) {

std::pair<std::string, std::string> long_name_to_remote_and_short(const std::string& long_name) {
std::vector<std::string> name_parts;
// boost::split causes a clang-tidy false positive, see
// https://bugs.llvm.org/show_bug.cgi?id=41141
//
// NOLINTNEXTLINE
boost::split(name_parts, long_name, boost::is_any_of(":"));
auto name = name_parts.back();
name_parts.pop_back();
Expand Down

0 comments on commit 069373b

Please sign in to comment.