Fix, revert to C++17 string_view constructor (#9315)

This commit is contained in:
Ben Doherty
2025-10-13 15:00:24 -07:00
committed by Benjamin Doherty
parent 7a10c09954
commit 082a79eebc

View File

@@ -98,7 +98,7 @@ public:
* @return The message string. Can be empty if it's not set.
*/
std::string_view getMessage() const {
return std::string_view(mMessage.begin(), mMessage.end());
return std::string_view(mMessage.begin(), mMessage.length());
}
/**