From ae1644627f41c71c566a28d60b494ea0a20e2013 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Tue, 14 Jan 2020 13:42:32 -0500 Subject: [PATCH] Define ClientData::slots() --- src/ClientData.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ClientData.h b/src/ClientData.h index 56277d958..5d615068b 100644 --- a/src/ClientData.h +++ b/src/ClientData.h @@ -222,6 +222,8 @@ public: size_t size() const { return mData.size(); } + static size_t slots() { return GetFactories().mObject.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.