We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ac9b5b commit 352ae6dCopy full SHA for 352ae6d
src/ofbx.cpp
@@ -235,6 +235,12 @@ struct StringView {
235
const char* value;
236
const char* end;
237
238
+ StringView(const char* v, const char* e)
239
+ {
240
+ value = v;
241
+ end = e;
242
+ }
243
+
244
bool operator ==(StringView rhs) const {
245
const size_t len = end - value;
246
if (len != (size_t)(rhs.end - rhs.value)) return false;
0 commit comments