mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +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
a54afe1b88
commit
638e8e4c6c
@ -477,9 +477,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