mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
MSVC compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15575 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a96cb88ccd
commit
87de304f6e
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
namespace lyx {
|
namespace lyx {
|
||||||
|
|
||||||
|
using std::abs;
|
||||||
using std::endl;
|
using std::endl;
|
||||||
using std::string;
|
using std::string;
|
||||||
using std::max;
|
using std::max;
|
||||||
@ -49,7 +50,7 @@ bool operator==(Change const & l, Change const & r)
|
|||||||
|
|
||||||
return l.author == r.author
|
return l.author == r.author
|
||||||
// both changes made within 5 minutes?
|
// both changes made within 5 minutes?
|
||||||
&& abs(l.changetime - r.changetime) < 300;
|
&& abs(static_cast<int>(l.changetime - r.changetime)) < 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user