Skip to content
Permalink
Browse files

Fix build with GCC 7.3.x

  • Loading branch information
EXL committed May 3, 2018
1 parent 0fbb5de commit 4a7293725cc225d74f6b7b26ee55425e742db7c1
Showing with 2 additions and 2 deletions.
  1. +1 −1 crengine/include/lvdocview.h
  2. +1 −1 crengine/src/lvdocview.cpp
@@ -605,7 +605,7 @@ class LVDocView : public CacheLoadingCallback
/// set list of icons to display at left side of header
void setHeaderIcons( LVRefVec<LVImageSource> icons );
/// set list of battery icons to display battery state
void setBatteryIcons( LVRefVec<LVImageSource> & icons );
void setBatteryIcons( const LVRefVec<LVImageSource> & icons );
/// sets page margins
void setPageMargins(lvRect rc);
/// update page margins based on current settings
@@ -1569,7 +1569,7 @@ bool LVDocView::setBatteryState(int newState) {
}

/// set list of battery icons to display battery state
void LVDocView::setBatteryIcons(LVRefVec<LVImageSource> & icons) {
void LVDocView::setBatteryIcons(const LVRefVec<LVImageSource> & icons) {
m_batteryIcons = icons;
}

0 comments on commit 4a72937

Please sign in to comment.
You can’t perform that action at this time.