From d3554736c13531898fb720b34772a595620e661a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gl=C3=B6ckner?= Date: Mon, 25 Jan 2016 15:51:53 +0100 Subject: reformatting fix --- drumgizmo/enginefactory.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'drumgizmo/enginefactory.cc') diff --git a/drumgizmo/enginefactory.cc b/drumgizmo/enginefactory.cc index b5368ac..e88f679 100644 --- a/drumgizmo/enginefactory.cc +++ b/drumgizmo/enginefactory.cc @@ -29,9 +29,11 @@ #include "cpp11fix.h" // required for c++11 #include "enginefactory.h" -EngineFactory::EngineFactory() : input{}, output {} +EngineFactory::EngineFactory() + : input{} + , output{} #ifdef USE_JACK -, jack { nullptr } + , jack { nullptr } #endif { // list available input engines @@ -70,18 +72,18 @@ void EngineFactory::prepareJack() } #endif -std::list const &EngineFactory::getInputEngines() const +const std::list& EngineFactory::getInputEngines() const { return input; } -std::list const &EngineFactory::getOutputEngines() const +const std::list& EngineFactory::getOutputEngines() const { return output; } std::unique_ptr -EngineFactory::createInput(std::string const &name) +EngineFactory::createInput(const std::string& name) { #ifdef HAVE_INPUT_DUMMY if (name == "dummy") @@ -110,7 +112,7 @@ EngineFactory::createInput(std::string const &name) } std::unique_ptr -EngineFactory::createOutput(std::string const &name) +EngineFactory::createOutput(const std::string& name) { #ifdef HAVE_OUTPUT_DUMMY if (name == "dummy") -- cgit v1.2.3