mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
SCRIPT namespace replacements
This commit is contained in:
committed by
Peter Johnson
parent
ae6c043632
commit
9aca8e0fd6
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
using namespace frc;
|
||||
using namespace wpi;
|
||||
|
||||
MechanismObject2d::MechanismObject2d(std::string_view name) : m_name{name} {}
|
||||
|
||||
@@ -14,7 +14,7 @@ const std::string& MechanismObject2d::GetName() const {
|
||||
return m_name;
|
||||
}
|
||||
|
||||
void MechanismObject2d::Update(std::shared_ptr<nt::NetworkTable> table) {
|
||||
void MechanismObject2d::Update(std::shared_ptr<wpi::nt::NetworkTable> table) {
|
||||
std::scoped_lock lock(m_mutex);
|
||||
m_table = table;
|
||||
UpdateEntries(m_table);
|
||||
|
||||
Reference in New Issue
Block a user