Skip to content

Commit 392a712

Browse files
authored
typos
1 parent 47659a9 commit 392a712

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generator.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace generator
2323

2424
private:
2525
instance( const instance& ); // non-copyable
26-
instance& instance=( const instance& ); // non-assignable
26+
instance& operator=( const instance& ); // non-assignable
2727
};
2828

2929
// Declaration
@@ -33,7 +33,7 @@ namespace generator
3333
// Shall end with $stop and contain at least one $emit[n]
3434
#define $emit(T) bool operator()(T& _rv) { switch(_line) { case 0:;
3535
#define $emit2(T1,T2) bool operator()(T1& _rv1, T2& _rv2) { switch(_line) { case 0:;
36-
#define $emit4(T1,T2,T3) bool operator()(T1& _rv1, T2& _rv2, T3& _rv3 ) { switch(_line) { case 0:;
36+
#define $emit3(T1,T2,T3) bool operator()(T1& _rv1, T2& _rv2, T3& _rv3 ) { switch(_line) { case 0:;
3737
#define $emit4(T1,T2,T3,T4) bool operator()(T1& _rv1, T2& _rv2, T3& _rv3, T4& _rv4 ) { switch(_line) { case 0:;
3838

3939
// yields next value(s)

0 commit comments

Comments
 (0)