Skip to content

Commit e06e6ee

Browse files
committed
Bug#37471922: Auto-fix clang-tidy warnings [15/n] [noclose]
Generate fixes for a number of warnings that clang-tidy can fix automatically. This commit fixes the warning 'readability-qualified-auto'. Change example: - auto descendentref = down_cast<Descendent *>(baseref); + auto *descendentref = down_cast<Descendent *>(baseref); Post-push fix: revert two lines that break VisualStudio build. Approved by: Andrzej Religa <[email protected]> Change-Id: I82217b725b22e66a19a67e38c52828088271335f
1 parent cf6397a commit e06e6ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

router/src/routing/src/sql_value.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
namespace {
3232
constexpr bool is_number(std::string_view s) {
3333
bool at_least_one_digit{false};
34-
const auto *cur = s.begin();
35-
const auto *const end = s.end();
34+
auto cur = s.begin();
35+
const auto end = s.end();
3636

3737
if (cur == end) return false; // empty.
3838

0 commit comments

Comments
 (0)