Skip to content

Commit

Permalink
Fix forward declaration of RefHolderBase in wrong namespace.
Browse files Browse the repository at this point in the history
RefHolderBase is in the namespace edm::reftobase, but it was
forward declared in namespace edm. This could cause a compilation
error when instantiating this template under some circumstances.

This patch moves the forward declaration to the correct namespace.
  • Loading branch information
Teemperor committed Apr 20, 2017
1 parent ed8d461 commit e62228b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataFormats/Common/interface/BaseHolder.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

namespace edm {
class ProductID;
class RefHolderBase;

namespace reftobase {
class RefHolderBase;
template<typename T> class BaseVectorHolder;
class RefVectorHolderBase;

Expand Down

0 comments on commit e62228b

Please sign in to comment.