Upgraded clang-format to 5.0 (#431)

This commit is contained in:
Tyler Veness
2017-11-11 22:09:51 -08:00
committed by Peter Johnson
parent 0001047b8b
commit 0c83cad70c
15 changed files with 96 additions and 67 deletions

View File

@@ -94,8 +94,9 @@ void LiveWindow::AddSensor(const std::string& subsystem,
void LiveWindow::AddSensor(const std::string& subsystem,
const std::string& name,
LiveWindowSendable& component) {
AddSensor(subsystem, name, std::shared_ptr<LiveWindowSendable>(
&component, [](LiveWindowSendable*) {}));
AddSensor(subsystem, name,
std::shared_ptr<LiveWindowSendable>(&component,
[](LiveWindowSendable*) {}));
}
/**
@@ -105,8 +106,9 @@ void LiveWindow::AddSensor(const std::string& subsystem,
void LiveWindow::AddSensor(const std::string& subsystem,
const std::string& name,
LiveWindowSendable* component) {
AddSensor(subsystem, name, std::shared_ptr<LiveWindowSendable>(
component, NullDeleter<LiveWindowSendable>()));
AddSensor(subsystem, name,
std::shared_ptr<LiveWindowSendable>(
component, NullDeleter<LiveWindowSendable>()));
}
//@}
@@ -137,8 +139,9 @@ void LiveWindow::AddActuator(const std::string& subsystem,
void LiveWindow::AddActuator(const std::string& subsystem,
const std::string& name,
LiveWindowSendable& component) {
AddActuator(subsystem, name, std::shared_ptr<LiveWindowSendable>(
&component, [](LiveWindowSendable*) {}));
AddActuator(subsystem, name,
std::shared_ptr<LiveWindowSendable>(&component,
[](LiveWindowSendable*) {}));
}
/**