mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[wpiutil] json: Fix map iterator key() for std::string_view (#3645)
This commit is contained in:
@@ -2122,7 +2122,7 @@ template<typename IteratorType> class iteration_proxy
|
||||
|
||||
// use key from the object
|
||||
case value_t::object:
|
||||
return anchor.key();
|
||||
return std::string{anchor.key()};
|
||||
|
||||
// use an empty key for all primitive types
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user