mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[ntcore] Fix NetworkTableEntry::GetRaw() (#3051)
It was calling value->GetString() instead of GetRaw(), which would assert.
This commit is contained in:
@@ -79,7 +79,7 @@ inline std::string NetworkTableEntry::GetRaw(StringRef defaultValue) const {
|
||||
if (!value || value->type() != NT_RAW) {
|
||||
return defaultValue;
|
||||
}
|
||||
return value->GetString();
|
||||
return value->GetRaw();
|
||||
}
|
||||
|
||||
inline std::vector<int> NetworkTableEntry::GetBooleanArray(
|
||||
|
||||
Reference in New Issue
Block a user