From: Scott Kostyshak Date: Fri, 29 Jul 2016 17:07:00 +0000 (-0400) Subject: Const a function parameter X-Git-Tag: 2.3.0alpha1~1213 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=60e89213493cfb4b8b30dc00264db1ca42e0348a;p=features.git Const a function parameter --- diff --git a/src/BufferView.cpp b/src/BufferView.cpp index f02cb66686..900114384f 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -873,7 +873,7 @@ void BufferView::scrollToCursor() } -bool BufferView::scrollToCursor(DocIterator const & dit, bool recenter) +bool BufferView::scrollToCursor(DocIterator const & dit, bool const recenter) { // We are not properly started yet, delay until resizing is // done.