Skip to content

Commit

Permalink
Merge pull request #1025 from Dr15Jones/WrapperGetInterfaceUsesConstS…
Browse files Browse the repository at this point in the history
…tatic

Multithreaded framework -- Wrapper<T>::getInterface explicitly uses a const static
  • Loading branch information
ktf committed Oct 9, 2013
2 parents 97b62bf + a311908 commit 987f4b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataFormats/Common/interface/Wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ namespace edm {
template <typename T>
WrapperInterface<T> const*
Wrapper<T>::getInterface() {
static WrapperInterface<T> instance;
static const WrapperInterface<T> instance;
return &instance;
}
}
Expand Down

0 comments on commit 987f4b2

Please sign in to comment.