From 21bf878230c011cb8623d9c88e0d90e903438adc Mon Sep 17 00:00:00 2001 From: Jochem Snuverink <jochem.snuverink@psi.ch> Date: Mon, 3 Aug 2020 16:39:35 +0200 Subject: [PATCH] Resolve "compiler errors with clang9" --- src/Classic/BeamlineCore/RBendRep.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/Classic/BeamlineCore/RBendRep.cpp b/src/Classic/BeamlineCore/RBendRep.cpp index 7b43f9af9..9efc48bb2 100644 --- a/src/Classic/BeamlineCore/RBendRep.cpp +++ b/src/Classic/BeamlineCore/RBendRep.cpp @@ -22,26 +22,6 @@ #include "Channels/IndirectChannel.h" #include <cctype> -// Attribute access table. -// ------------------------------------------------------------------------ - -namespace { - struct Entry { - const char *name; - double(RBendRep::*get)() const; - void (RBendRep::*set)(double); - }; - - const Entry entries[] = { - { - "L", - &RBendRep::getElementLength, - &RBendRep::setElementLength - }, - { 0, 0, 0 } - }; -} - RBendRep::RBendRep(): RBend(), -- GitLab