From 6177424fa67c4f0706a22bd49ad8cc5f42c29ad4 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Thu, 12 Nov 2015 14:09:39 +0100 Subject: [PATCH] demo: make Lazy_value::dst() const --- repos/demo/include/util/lazy_value.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/demo/include/util/lazy_value.h b/repos/demo/include/util/lazy_value.h index b407571d8..7eb9c55d0 100644 --- a/repos/demo/include/util/lazy_value.h +++ b/repos/demo/include/util/lazy_value.h @@ -46,7 +46,7 @@ class Lazy_value _accel = 1; } - T dst() { return _dst; } + T dst() const { return _dst; } void assign(T value) { _curr = value; }