Replaced ::std with std for readability/consistency.

Change-Id: I65f9673c237d3513f99827e28963eb22ae9df0c2
This commit is contained in:
James Kuszmaul
2015-07-29 16:48:04 -04:00
parent f74ca87e26
commit 4b575e3e7e
127 changed files with 404 additions and 404 deletions

View File

@@ -13,8 +13,8 @@
#include "networktables/NetworkTable.h"
#include "HLUsageReporting.h"
::std::shared_ptr<ITable> SmartDashboard::m_table = nullptr;
std::map<::std::shared_ptr<ITable> , Sendable *> SmartDashboard::m_tablesToData;
std::shared_ptr<ITable> SmartDashboard::m_table = nullptr;
std::map<std::shared_ptr<ITable> , Sendable *> SmartDashboard::m_tablesToData;
void SmartDashboard::init() {
m_table.reset(NetworkTable::GetTable("SmartDashboard"));
@@ -35,7 +35,7 @@ void SmartDashboard::PutData(std::string key, Sendable *data) {
wpi_setGlobalWPIErrorWithContext(NullParameter, "value");
return;
}
::std::shared_ptr<ITable> dataTable(m_table->GetSubTable(key));
std::shared_ptr<ITable> dataTable(m_table->GetSubTable(key));
dataTable->PutString("~TYPE~", data->GetSmartDashboardType());
data->InitTable(dataTable);
m_tablesToData[dataTable] = data;
@@ -63,7 +63,7 @@ void SmartDashboard::PutData(NamedSendable *value) {
* @return the value
*/
Sendable *SmartDashboard::GetData(std::string key) {
::std::shared_ptr<ITable> subtable(m_table->GetSubTable(key));
std::shared_ptr<ITable> subtable(m_table->GetSubTable(key));
Sendable *data = m_tablesToData[subtable];
if (data == nullptr) {
wpi_setGlobalWPIErrorWithContext(SmartDashboardMissingKey, key.c_str());