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

@@ -28,7 +28,7 @@ public:
NetworkTableKeyListenerAdapter(std::string relativeKey, std::string fullKey, NetworkTable* targetSource, ITableListener* targetListener);
virtual ~NetworkTableKeyListenerAdapter();
void ValueChanged(ITable* source, const std::string& key, EntryValue value, bool isNew);
void ValueChanged(::std::shared_ptr<ITable> source, const std::string& key,
void ValueChanged(std::shared_ptr<ITable> source, const std::string& key,
EntryValue value, bool isNew) {
ValueChanged(source.get(), key, value, isNew);
}

View File

@@ -26,7 +26,7 @@ class NetworkTableListenerAdapter : public ITableListener {
virtual ~NetworkTableListenerAdapter();
void ValueChanged(ITable* source, const std::string& key, EntryValue value,
bool isNew);
void ValueChanged(::std::shared_ptr<ITable> source, const std::string& key,
void ValueChanged(std::shared_ptr<ITable> source, const std::string& key,
EntryValue value, bool isNew) {
ValueChanged(source.get(), key, value, isNew);
}

View File

@@ -29,7 +29,7 @@ public:
NetworkTableSubListenerAdapter(std::string& prefix, NetworkTable* targetSource, ITableListener* targetListener);
virtual ~NetworkTableSubListenerAdapter();
void ValueChanged(ITable* source, const std::string& key, EntryValue value, bool isNew);
void ValueChanged(::std::shared_ptr<ITable> source, const std::string& key,
void ValueChanged(std::shared_ptr<ITable> source, const std::string& key,
EntryValue value, bool isNew) {
ValueChanged(source.get(), key, value, isNew);
}

View File

@@ -33,11 +33,11 @@ class ITableListener {
* @param value the new value
* @param isNew true if the key did not previously exist in the table, otherwise it is false
*/
virtual void ValueChanged(::std::shared_ptr<ITable> source, const std::string& key, EntryValue value, bool isNew) = 0;
virtual void ValueChanged(std::shared_ptr<ITable> source, const std::string& key, EntryValue value, bool isNew) = 0;
virtual void ValueChanged(ITable* source, const std::string& key,
EntryValue value, bool isNew) {
ValueChanged(::std::shared_ptr<ITable>(source, NullDeleter<ITable>()), key, value, isNew);
ValueChanged(std::shared_ptr<ITable>(source, NullDeleter<ITable>()), key, value, isNew);
}
private: