From bc8ecae8a0dd9f77337b9f3e2e8ffa192d6177ef Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Mon, 2 Mar 2020 18:53:20 -0800 Subject: [PATCH] minor --- src/pvxs/data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pvxs/data.h b/src/pvxs/data.h index 84c425f..dfe01d2 100644 --- a/src/pvxs/data.h +++ b/src/pvxs/data.h @@ -458,7 +458,7 @@ public: //! If possible, this value is cast to T and passed as the only argument //! of the provided function. template - void as(FN&& fn) { + void as(FN&& fn) const { typedef impl::StorageMap::type> map_t; typename map_t::store_t val; if(tryCopyOut(&val, map_t::code)) {