Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
artemp committed May 20, 2014
1 parent 67ac560 commit 002ccdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/variant_hello_world.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ struct check : util::static_visitor<>
int main() {
typedef util::variant<bool,int, double> variant_type;
variant_type v(0);
util::apply_visitor(v,check());
util::apply_visitor(check(),v);
return 0;
}
}

0 comments on commit 002ccdc

Please sign in to comment.