Browse Source

Use const char* consistently as string parameter

Ole 9 years ago
parent
commit
fbb23dbf34
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/luwra/state.hpp

+ 1 - 1
lib/luwra/state.hpp

@@ -64,7 +64,7 @@ struct StateWrapper: Table {
 	 */
 	template <typename T> inline
 	void registerUserType(
-		const std::string& ctor_name,
+		const char* ctor_name,
 		const FieldVector& methods = FieldVector(),
 		const FieldVector& meta_methods = FieldVector()
 	) {