This commit is contained in:
Michael Davidsaver
2019-12-15 10:18:09 -08:00
parent aea4a4f804
commit 8a70c95409
+3 -2
View File
@@ -25,10 +25,9 @@ using namespace pvxs::server;
DEFINE_LOGGER(dummy,"dummyserv");
const Value mytype = nt::NTScalar{TypeCode::Int32}.build().create();
struct DummyHandler : public Handler
{
static const Value mytype;
static std::atomic<unsigned> count;
Value current;
@@ -63,6 +62,8 @@ struct DummyHandler : public Handler
}
};
const Value DummyHandler::mytype = nt::NTScalar{TypeCode::Int32}.build().create();
std::atomic<unsigned> DummyHandler::count{};
struct DummySource : public Source