Fix, revert to C++17 string_view constructor (#9315)
This commit is contained in:
committed by
Benjamin Doherty
parent
7a10c09954
commit
082a79eebc
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user