mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add implicit io::path constructor from std::string_view
This commit is contained in:
parent
340aac82c3
commit
4c18163f8a
1 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,8 @@ namespace io {
|
|||
}
|
||||
}
|
||||
|
||||
path(std::string_view str) : path(std::string(str)) {}
|
||||
|
||||
path(const char* str) : path(std::string(str)) {}
|
||||
|
||||
bool operator==(const std::string& other) const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue