Do not mark normal setter method const

parent c472a714
......@@ -170,12 +170,12 @@ uint VcsDiff::depth() const
return d->depth;
}
void VcsDiff::setBaseDiff(const QUrl& url) const
void VcsDiff::setBaseDiff(const QUrl& url)
{
d->baseDiff=url;
}
void VcsDiff::setDepth(const uint depth) const
void VcsDiff::setDepth(const uint depth)
{
d->depth = depth;
}
......
......@@ -111,9 +111,9 @@ public:
uint depth() const;
/** Sets the base directory of the diff to the @p url */
void setBaseDiff(const QUrl& url) const;
void setBaseDiff(const QUrl& url);
/** Sets the depth of the diff to @p depth */
void setDepth(const uint depth) const;
void setDepth(const uint depth);
void setDiff( const QString& );
void addLeftBinary( const KDevelop::VcsLocation&, const QByteArray& );
......
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