From 931853a55f0363ef4e22e4df58711cf9e4f4536c Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sun, 24 Jul 2016 19:12:09 -0700 Subject: [PATCH] Make File::Result::value() const. --- firmware/application/file.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/application/file.hpp b/firmware/application/file.hpp index 7504fb93..96b71991 100644 --- a/firmware/application/file.hpp +++ b/firmware/application/file.hpp @@ -154,7 +154,7 @@ public: return type == Type::Error; } - const T& value() { + const T& value() const { return value_; }