remove unnecessary 'typename'

This commit is contained in:
Michael Davidsaver
2017-07-06 13:23:24 +02:00
parent 888291db9a
commit a0210af5c6

View File

@@ -162,7 +162,7 @@ void ValueBuilder::_add(const std::string& name, ScalarType stype, const void *V
std::auto_ptr<child> store;
switch(stype) {
#define STYPE(stype) case stype: store.reset(new child_scalar<typename ScalarTypeTraits<stype>::type>(V)); break
#define STYPE(stype) case stype: store.reset(new child_scalar<ScalarTypeTraits<stype>::type>(V)); break
STYPE(pvBoolean);
STYPE(pvByte);
STYPE(pvShort);