diff --git a/src/lib/datasrc/factory.h b/src/lib/datasrc/factory.h index 9d0a7620ad..f3ca397598 100644 --- a/src/lib/datasrc/factory.h +++ b/src/lib/datasrc/factory.h @@ -163,7 +163,7 @@ public: /// /// \return Reference to the DataSourceClient instance contained in this /// container. - DataSourceClient& getInstance() { return *instance_; } + DataSourceClient& getInstance() { return (*instance_); } private: DataSourceClient* instance_;