Skip to content

Commit 9b346ff

Browse files
committed
Minor correction.
1 parent 1d7dc19 commit 9b346ff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cpp/src/sequence_group.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ size_t Sequence::_make_hash(size_t content_length) {
6060
else {
6161
OPENVINO_THROW("Hash calculation is not supported for this sequence type.");
6262
}
63-
char* data = reinterpret_cast<char*>(content.data());
63+
const char* data = reinterpret_cast<char*>(content.data());
6464
std::size_t size = content.size() * sizeof(content[0]);
65-
auto hash = std::hash<std::string_view>{}(std::string_view(data, size));
6665
return std::hash<std::string_view>{}(std::string_view(data, size));
6766
}
6867

0 commit comments

Comments
 (0)