summaryrefslogtreecommitdiff
path: root/src/guichan/include/guichan/widgets/slider.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/include/guichan/widgets/slider.hpp')
-rw-r--r--src/guichan/include/guichan/widgets/slider.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guichan/include/guichan/widgets/slider.hpp b/src/guichan/include/guichan/widgets/slider.hpp
index a22c36844..bf2ce5937 100644
--- a/src/guichan/include/guichan/widgets/slider.hpp
+++ b/src/guichan/include/guichan/widgets/slider.hpp
@@ -81,7 +81,7 @@ namespace gcn
*
* @param scaleEnd The end value of the slider scale.
*/
- Slider(double scaleEnd = 1.0);
+ Slider(const double scaleEnd = 1.0);
/**
* Constructor.
@@ -89,7 +89,7 @@ namespace gcn
* @param scaleStart The start value of the slider scale.
* @param scaleEnd The end value of the slider scale.
*/
- Slider(double scaleStart, double scaleEnd);
+ Slider(const double scaleStart, const double scaleEnd);
/**
* Destructor.