Skip to content

Commit

Permalink
[LTO] Fix ODR warnings for L1Trigger/RPCTrigger
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Aug 22, 2022
1 parent 7c31bc4 commit d66fe74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions L1Trigger/RPCTrigger/src/MuonsGrabber.cc
Expand Up @@ -23,19 +23,19 @@

XERCES_CPP_NAMESPACE_USE

class XStr {
class XStrPrivate {
public:
XStr(const char* const toTranscode) { fUnicodeForm = XMLString::transcode(toTranscode); }
XStrPrivate(const char* const toTranscode) { fUnicodeForm = XMLString::transcode(toTranscode); }

~XStr() { XMLString::release(&fUnicodeForm); }
~XStrPrivate() { XMLString::release(&fUnicodeForm); }

const XMLCh* unicodeForm() const { return fUnicodeForm; }

private:
XMLCh* fUnicodeForm;
};

#define X(str) XStr(str).unicodeForm()
#define X(str) XStrPrivate(str).unicodeForm()

//
// constants, enums and typedefs
Expand Down

0 comments on commit d66fe74

Please sign in to comment.