From 1cec8df45e297a8136df6f293d4874ae6c6cb013 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 9 Mar 2015 13:48:41 +0000 Subject: ArrayView content is not const anymore As in upcoming std c++ array_view, ArrayView points to mutable data, use ArrayView or alias ConstArrayView for const data. --- src/buffer.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buffer.hh') diff --git a/src/buffer.hh b/src/buffer.hh index d6906c87..7402f769 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -164,7 +164,7 @@ public: ByteCoord begin; ByteCoord end; }; - ArrayView changes_since(size_t timestamp) const; + ConstArrayView changes_since(size_t timestamp) const; String debug_description() const; private: -- cgit v1.2.3