Skip to content

Commit

Permalink
removed unused using
Browse files Browse the repository at this point in the history
  • Loading branch information
s-light committed Jan 14, 2018
1 parent ee2d965 commit 26c5181
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions plugins/spi/SPIOutput.cpp
Expand Up @@ -70,9 +70,6 @@ using ola::rdm::ResponderHelper;
using ola::rdm::UID;
using ola::rdm::UIDSet;
using std::auto_ptr;
using std::min;
using std::string;
using std::vector;



Expand Down Expand Up @@ -237,11 +234,11 @@ SPIOutput::~SPIOutput() {
}


string SPIOutput::GetDeviceLabel() const {
std::string SPIOutput::GetDeviceLabel() const {
return m_device_label;
}

bool SPIOutput::SetDeviceLabel(const string &device_label) {
bool SPIOutput::SetDeviceLabel(const std::string &device_label) {
m_device_label = device_label;
return true;
}
Expand All @@ -268,7 +265,7 @@ bool SPIOutput::SetStartAddress(uint16_t address) {
return true;
}

string SPIOutput::Description() const {
std::string SPIOutput::Description() const {
std::ostringstream str;
str << "Output " << static_cast<int>(m_output_number) << ", "
<< m_personality_manager->ActivePersonalityDescription() << ", "
Expand Down Expand Up @@ -843,7 +840,7 @@ RDMResponse *SPIOutput::GetDeviceInfo(const RDMRequest *request) {
RDMResponse *SPIOutput::GetProductDetailList(const RDMRequest *request) {
// Shortcut for only one item in the vector
return ResponderHelper::GetProductDetailList(request,
vector<ola::rdm::rdm_product_detail>
std::vector<ola::rdm::rdm_product_detail>
(1, ola::rdm::PRODUCT_DETAIL_LED));
}

Expand All @@ -866,7 +863,9 @@ RDMResponse *SPIOutput::SetDeviceLabel(const RDMRequest *request) {
}

RDMResponse *SPIOutput::GetSoftwareVersionLabel(const RDMRequest *request) {
return ResponderHelper::GetString(request, string("OLA Version ") + VERSION);
return ResponderHelper::GetString(
request,
std::string("OLA Version ") + VERSION);
}

RDMResponse *SPIOutput::GetDmxPersonality(const RDMRequest *request) {
Expand Down

0 comments on commit 26c5181

Please sign in to comment.