Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 414135
Collapse All | Expand All

(-)a/krusader/UserAction/tstring.h (-2 / +2 lines)
Lines 125-131 TagString_t<T>& TagString_t<T>::operator+=(const TagString_t & s) Link Here
125
    str += s.str;
125
    str += s.str;
126
    const unsigned disp = length();
126
    const unsigned disp = length();
127
    for (typename taglist::const_iterator it = s.tags.begin(), end = s.tags.end();it != end;++it) {
127
    for (typename taglist::const_iterator it = s.tags.begin(), end = s.tags.end();it != end;++it) {
128
        tags.push_back(make_pair((*it).first + disp, (*it).second));
128
        tags.push_back(std::make_pair((*it).first + disp, (*it).second));
129
    }
129
    }
130
    return *this;
130
    return *this;
131
}
131
}
Lines 134-140 template <class T> Link Here
134
void TagString_t<T>::insertTag(uint pos, const T& t)
134
void TagString_t<T>::insertTag(uint pos, const T& t)
135
{
135
{
136
    assert(pos <= length());
136
    assert(pos <= length());
137
    tags.push_back(make_pair(pos, t));
137
    tags.push_back(std::make_pair(pos, t));
138
}
138
}
139
139
140
#endif
140
#endif

Return to bug 414135