Commit d0cafbec authored by Thomas BOUTROUE's avatar Thomas BOUTROUE

Consistency in constness

parent 2fd0b94c
Pipeline #512 passed with stages
......@@ -29,7 +29,7 @@ static inline const QByteArray noSpace (const QByteArray & str) {
AbstractVarWrapper::AbstractVarWrapper(const quint size, const VarType type) : size (size), type (type) { }
AbstractVarWrapper::~AbstractVarWrapper() { }
AbstractVarWrapper::~AbstractVarWrapper (void) { }
C4JS::C4JS (QObject * parent)
: QObject (parent)
......@@ -191,7 +191,7 @@ void C4JS::tree (void) const {
}
}
void C4JS::setCycle (int cycle) {
void C4JS::setCycle (const int cycle) {
if (m_cycle != cycle) {
m_cycle = cycle;
m_timer.setInterval (m_cycle);
......@@ -199,7 +199,7 @@ void C4JS::setCycle (int cycle) {
}
}
void C4JS::setDebugFlags (int debugFlags) {
void C4JS::setDebugFlags (const int debugFlags) {
if (m_debugFlags != debugFlags) {
m_debugFlags = debugFlags;
emit debugFlagsChanged (m_debugFlags);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment