Skip to content

Commit

Permalink
Replace fwd decls in WillGetIfMatch with includes.
Browse files Browse the repository at this point in the history
We need the definition of both classes in this header because
we call member functions from those classes here, but right
now we only have two forward declarations.
This patch replaces both forward declarations with the proper
includes to make the header compile on it's own.
  • Loading branch information
Teemperor committed May 17, 2017
1 parent 1144fdf commit 729ca8a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions FWCore/Framework/interface/WillGetIfMatch.h
Expand Up @@ -11,14 +11,13 @@ See comments in the file GetterOfProducts.h.
*/

#include <functional>
#include "DataFormats/Provenance/interface/BranchDescription.h"
#include "FWCore/Framework/interface/EDConsumerBase.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "FWCore/Utilities/interface/EDGetToken.h"

namespace edm {

class BranchDescription;
class EDConsumerBase;

template<typename T>
class WillGetIfMatch {
public:
Expand Down

0 comments on commit 729ca8a

Please sign in to comment.