Edwin Leuven wrote:
Jean-Marc Lasgouttes wrote:
"Edwin" == Edwin Leuven <[EMAIL PROTECTED]>
writes:
2> changes.C ..\..\..\src\changes.C(52) : error C2668: 'abs' :
2> ambiguous call to overloaded function
I guess the file misses a using std::abs;
that was also what i thought, but it didn't solve it
do we need to cast lyx::time_type to ... ?
No, the difference:
return l.author == r.author
// both changes made within 5 minutes?
- && abs(static_cast<int>(l.changetime - r.changetime)) < 300;
+ && abs(l.changetime - r.changetime) < 300;
Will commit soon.
Abdel.