diff --git a/common/dataStructures/Dedication.cpp b/common/dataStructures/Dedication.cpp index a60f75bffc915aa70802833981207bff9ed5fe0e..b5c8950303b3b78891eacb3d4bac9f0beafdc659 100644 --- a/common/dataStructures/Dedication.cpp +++ b/common/dataStructures/Dedication.cpp @@ -152,7 +152,7 @@ cta::dataStructures::EntryLog cta::dataStructures::Dedication::getLastModificati //------------------------------------------------------------------------------ // setReadonly //------------------------------------------------------------------------------ -void cta::dataStructures::Dedication::setReadonly(const bool &readonly) { +void cta::dataStructures::Dedication::setReadonly(const bool readonly) { m_readonly = readonly; m_readonlySet = true; } @@ -242,7 +242,7 @@ std::string cta::dataStructures::Dedication::getVid() const { //------------------------------------------------------------------------------ // setWriteonly //------------------------------------------------------------------------------ -void cta::dataStructures::Dedication::setWriteonly(const bool &writeonly) { +void cta::dataStructures::Dedication::setWriteonly(const bool writeonly) { m_writeonly = writeonly; m_writeonlySet = true; } diff --git a/common/dataStructures/Dedication.hpp b/common/dataStructures/Dedication.hpp index 9ecbc7f70184b69247e531778c82e64927fe69ae..1f9b50d0a194713bc4ba42e5ed3db1d83037429b 100644 --- a/common/dataStructures/Dedication.hpp +++ b/common/dataStructures/Dedication.hpp @@ -57,7 +57,7 @@ public: void setLastModificationLog(const cta::dataStructures::EntryLog &lastModificationLog); cta::dataStructures::EntryLog getLastModificationLog() const; - void setReadonly(const bool &readonly); + void setReadonly(const bool readonly); bool getReadonly() const; void setTag(const std::string &tag); @@ -72,7 +72,7 @@ public: void setVid(const std::string &vid); std::string getVid() const; - void setWriteonly(const bool &writeonly); + void setWriteonly(const bool writeonly); bool getWriteonly() const; diff --git a/common/dataStructures/Tape.cpp b/common/dataStructures/Tape.cpp index 14dd20555014e9eae7e89043fe44eff245996149..24d1617e64055dbf4f201ccb2538aa89096413ab 100644 --- a/common/dataStructures/Tape.cpp +++ b/common/dataStructures/Tape.cpp @@ -64,7 +64,7 @@ bool cta::dataStructures::Tape::allFieldsSet() const { //------------------------------------------------------------------------------ // setBusy //------------------------------------------------------------------------------ -void cta::dataStructures::Tape::setBusy(const bool &busy) { +void cta::dataStructures::Tape::setBusy(const bool busy) { m_busy = busy; m_busySet = true; } @@ -154,7 +154,7 @@ uint64_t cta::dataStructures::Tape::getDataOnTapeInBytes() const { //------------------------------------------------------------------------------ // setDisabled //------------------------------------------------------------------------------ -void cta::dataStructures::Tape::setDisabled(const bool &disabled) { +void cta::dataStructures::Tape::setDisabled(const bool disabled) { m_disabled = disabled; m_disabledSet = true; } @@ -172,7 +172,7 @@ bool cta::dataStructures::Tape::getDisabled() const { //------------------------------------------------------------------------------ // setFull //------------------------------------------------------------------------------ -void cta::dataStructures::Tape::setFull(const bool &full) { +void cta::dataStructures::Tape::setFull(const bool full) { m_full = full; m_fullSet = true; } diff --git a/common/dataStructures/Tape.hpp b/common/dataStructures/Tape.hpp index f84991629467ac71667d6331922ca43e59f85037..7aa227854e05b47df9d0985dedea4bbd4ffdab43 100644 --- a/common/dataStructures/Tape.hpp +++ b/common/dataStructures/Tape.hpp @@ -42,7 +42,7 @@ public: */ ~Tape() throw(); - void setBusy(const bool &busy); + void setBusy(const bool busy); bool getBusy() const; void setCapacityInBytes(const uint64_t capacityInBytes); @@ -57,10 +57,10 @@ public: void setDataOnTapeInBytes(const uint64_t dataOnTapeInBytes); uint64_t getDataOnTapeInBytes() const; - void setDisabled(const bool &disabled); + void setDisabled(const bool disabled); bool getDisabled() const; - void setFull(const bool &full); + void setFull(const bool full); bool getFull() const; void setLastFSeq(const uint64_t lastFSeq);