mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
Add removeAll to preferences (#987)
This removes all keys except for .type.
This commit is contained in:
committed by
Peter Johnson
parent
2e0709f05b
commit
f90e429bf9
@@ -52,6 +52,7 @@ class Preferences : public ErrorBase {
|
||||
void PutLong(wpi::StringRef key, int64_t value);
|
||||
bool ContainsKey(wpi::StringRef key);
|
||||
void Remove(wpi::StringRef key);
|
||||
void RemoveAll();
|
||||
|
||||
protected:
|
||||
Preferences();
|
||||
|
||||
Reference in New Issue
Block a user