Skip to content

Commit

Permalink
Fix constructor declaration
Browse files Browse the repository at this point in the history
Seems that g++ 4.0 and 4.1+ complain differently about constructor
forms.
  • Loading branch information
Evan Phoenix committed Apr 17, 2008
1 parent bd085da commit e20916e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vm/marshal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ namespace rubinius {
STATE;
std::ostream& stream;

Marshaller::Marshaller(STATE, std::ostream& stream) :
state(state), stream(stream) { }
Marshaller(STATE, std::ostream& stream) : state(state), stream(stream) { }

void marshal(OBJECT obj);

Expand Down

0 comments on commit e20916e

Please sign in to comment.