From 357b593c66e2394af0a3a666cd748f52b57968b0 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Tue, 9 Jul 2019 16:38:43 -0400 Subject: [PATCH] Define ClientData::Site::size --- src/ClientData.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ClientData.h b/src/ClientData.h index d92358ce5..3c07b01f3 100644 --- a/src/ClientData.h +++ b/src/ClientData.h @@ -217,6 +217,8 @@ public: Site& operator =( Site && other ) { mData = std::move(other.mData); return *this; } + size_t size() const { return mData.size(); } + /// \brief a type meant to be stored by client code in a static variable, /// and used as a retrieval key to get the manufactured client object back /// from the host object.