diff --git a/src/pv/pvaClient.h b/src/pv/pvaClient.h index a98e5bf..22e539f 100644 --- a/src/pv/pvaClient.h +++ b/src/pv/pvaClient.h @@ -18,6 +18,7 @@ #include #include +#include #include #include #include @@ -107,11 +108,10 @@ public: * \deprecated This method will go away in future versions. Use get instead. * @return shared pointer to the single instance */ - static PvaClientPtr create() - { - std::cerr << "create is deprecated. Use get instead\n"; - return get("pva ca"); - } + static PvaClientPtr create() EPICS_DEPRECATED + { + return get("pva ca"); + } /** Get the requester name. * @return The name. */