Permalink
Browse files

tweaked config example

  • Loading branch information...
1 parent e8a110f commit 03df2af14ce3d2ff9737f3babea8972ae28b6213 @JakobOvrum committed Jul 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 example/config.cpp
View
@@ -8,7 +8,7 @@ struct Config
const char* bar;
};
-Config loadConfig(const lua::table t)
+Config loadConfig(const lua::table& t)
{
Config c;
c.foo = t["foo"];

0 comments on commit 03df2af

Please sign in to comment.