From a0210af5c65b280249d2cfe4376bc9763694866a Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Thu, 6 Jul 2017 13:23:24 +0200 Subject: [PATCH] remove unnecessary 'typename' --- src/pv/valueBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pv/valueBuilder.cpp b/src/pv/valueBuilder.cpp index 6ecbb4c..ea1931f 100644 --- a/src/pv/valueBuilder.cpp +++ b/src/pv/valueBuilder.cpp @@ -162,7 +162,7 @@ void ValueBuilder::_add(const std::string& name, ScalarType stype, const void *V std::auto_ptr store; switch(stype) { -#define STYPE(stype) case stype: store.reset(new child_scalar::type>(V)); break +#define STYPE(stype) case stype: store.reset(new child_scalar::type>(V)); break STYPE(pvBoolean); STYPE(pvByte); STYPE(pvShort);