Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename TClassAttributeMap -> TDictAttributeMap #2227

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions CondCore/ORA/src/RflxPropList.h
Expand Up @@ -5,7 +5,7 @@
#include "FWCore/Utilities/interface/MemberWithDict.h"

#include <string>
#include "TClassAttributeMap.h"
#include "TDictAttributeMap.h"

namespace Reflex {

Expand All @@ -24,7 +24,7 @@ namespace Reflex {
PropertyList(const PropertyList &other) : m_wp(other.m_wp) { /* NOOP */ }
PropertyList& operator=(const PropertyList &other) { m_wp = other.getMap(); return *this; }

TClassAttributeMap * getMap() const { return m_wp; }
TDictAttributeMap * getMap() const { return m_wp; }

bool HasProperty (const std::string& key) const {
if (m_wp) {
Expand All @@ -43,7 +43,7 @@ namespace Reflex {
return std::string("");
}
private:
TClassAttributeMap *m_wp;
TDictAttributeMap *m_wp;

}; // end class PropertyList

Expand Down
4 changes: 2 additions & 2 deletions DataFormats/Provenance/src/BranchDescription.cc
Expand Up @@ -8,7 +8,7 @@
#include "FWCore/Utilities/interface/TypeWithDict.h"
#include "FWCore/Utilities/interface/WrappedClassName.h"

#include "TClassAttributeMap.h"
#include "TDictAttributeMap.h"

#include <cassert>
#include <cstdio>
Expand Down Expand Up @@ -195,7 +195,7 @@ namespace edm {
setTransient(false);
setSplitLevel(invalidSplitLevel);
setBasketSize(invalidBasketSize);
TClassAttributeMap* wp = wrappedType().getClass()->GetAttributeMap();
TDictAttributeMap* wp = wrappedType().getClass()->GetAttributeMap();
if (wp && wp->HasKey("persistent") && !strcmp(wp->GetPropertyAsString("persistent"), "false")) {
// Set transient if persistent == "false".
setTransient(true);
Expand Down