Skip to content

Commit

Permalink
Fix build with GCC 7.3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
EXL committed May 3, 2018
1 parent 0fbb5de commit 4a72937
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crengine/include/lvdocview.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crengine/src/lvdocview.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4a72937

Please sign in to comment.