mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Fix NetworkTable::setFlag typo (#124)
This commit is contained in:
committed by
Peter Johnson
parent
f6df7cad9b
commit
89805a44c1
@@ -274,7 +274,7 @@ void NetworkTable::SetFlags(StringRef key, unsigned int flags) {
|
||||
llvm::SmallString<128> path(m_path);
|
||||
path += PATH_SEPARATOR_CHAR;
|
||||
path += key;
|
||||
nt::SetEntryFlags(path, nt::GetEntryFlags(key) | flags);
|
||||
nt::SetEntryFlags(path, nt::GetEntryFlags(path) | flags);
|
||||
}
|
||||
|
||||
void NetworkTable::ClearFlags(StringRef key, unsigned int flags) {
|
||||
|
||||
Reference in New Issue
Block a user