File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,11 @@ struct Reference {
35
35
string repr () const ;
36
36
};
37
37
38
+ template <class StreamT >
39
+ StreamT& operator << (StreamT& stream, const Reference& reference) {
40
+ return stream << reference.repr ();
41
+ }
42
+
38
43
class ConfigCompilerPlugin ;
39
44
class ResourceResolver ;
40
45
struct Dependency ;
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ struct Dependency {
32
32
virtual bool Resolve (ConfigCompiler* compiler) = 0;
33
33
};
34
34
35
- template <class StreamT , class RepresentableT >
36
- StreamT& operator << (StreamT& stream, const RepresentableT& representable ) {
37
- return stream << representable .repr ();
35
+ template <class StreamT >
36
+ StreamT& operator << (StreamT& stream, const Dependency& dependency ) {
37
+ return stream << dependency .repr ();
38
38
}
39
39
40
40
struct PendingChild : Dependency {
You can’t perform that action at this time.
0 commit comments