Explorar el Código

Use const char* consistently as string parameter

Ole hace 9 años
padre
commit
fbb23dbf34
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()
 	) {