mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Avoid static members zoom_min_ and zoom_max_
Some compilers cannot use static class members by reference. std::min() and std::max() are passing parameters by const reference.
This commit is contained in:
parent
9faeaacfa8
commit
cd995a2bc6
@ -519,9 +519,9 @@ private:
|
||||
/// from the default zoom pref
|
||||
double zoom_ratio_ = 1.0;
|
||||
/// Minimum zoom percentage
|
||||
static int const zoom_min_ = 10;
|
||||
int const zoom_min_ = 10;
|
||||
/// Maximum zoom percentage
|
||||
static int const zoom_max_ = 1000;
|
||||
int const zoom_max_ = 1000;
|
||||
|
||||
// movability flag of all toolbars
|
||||
bool toolbarsMovable_;
|
||||
|
Loading…
Reference in New Issue
Block a user