Skip to content

Commit

Permalink
Merge pull request #2227 from davidlt/root6-rename-TClassAttributeMap…
Browse files Browse the repository at this point in the history
…-to-TDictAttributeMap

Rename TClassAttributeMap -> TDictAttributeMap
  • Loading branch information
davidlt committed Jan 29, 2014
2 parents 0d6a11c + 981c86c commit a601ae7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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

0 comments on commit a601ae7

Please sign in to comment.