Skip to content

Commit

Permalink
Fixup some documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lefticus committed Jan 30, 2012
1 parent 13f98fa commit 3b95931
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/chaiscript/chaiscript.hpp
Expand Up @@ -192,8 +192,8 @@
/// Overloaded methods will need some help, to hint the compiler as to which overload you want:
///
/// \code
/// chai.add(fun<void (MyClass::*)()>(&MyClass::overloadedmethod), "overloadedmethod"));
/// chai.add(fun<void (MyClass::*)(const std::string &)>(&MyClass::overloadedmethod, "overloadedmethod"));
/// chai.add(fun<void (MyClass::*)()>(&MyClass::overloadedmethod), "overloadedmethod");
/// chai.add(fun<void (MyClass::*)(const std::string &)>(&MyClass::overloadedmethod), "overloadedmethod");
/// \endcode
///
/// There are also shortcuts built into chaiscript::fun for binding up to the first two parameters of the function.
Expand Down

0 comments on commit 3b95931

Please sign in to comment.