瀏覽代碼

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()
 	) {