Преглед на файлове

Use const char* consistently as string parameter

Ole преди 9 години
родител
ревизия
fbb23dbf34
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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()
 	) {