Skip to content

Commit fcbe616

Browse files
committed
Fix ci
1 parent 0ebfa41 commit fcbe616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ int do_migrate(int argc, const char** argv)
873873
std::string newexp{first, last};
874874

875875
newexp += " = \"";
876-
std::string_view varName{first, last};
876+
std::string_view varName{std::addressof(*first), (size_t)std::distance(std::addressof(*first), std::addressof(*last))};
877877
varName.remove_suffix(3);
878878
newexp += varName;
879879
newexp += 's';

0 commit comments

Comments
 (0)