This website works better with JavaScript.
首頁
說明
登入
lolengine
/
lol
镜像来自
https://github.com/lolengine/lol
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
0
Wiki
Activity
瀏覽代碼
base: allow String::C() to be non-const.
undefined
Sam Hocevar
12 年之前
父節點
af695ca56c
當前提交
7cd3341504
共有
1 個文件被更改
,包括
6 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
src/lol/base/string.h
+ 6
- 0
src/lol/base/string.h
查看文件
@@ -101,6 +101,12 @@ public:
return &(*this)[0];
}
/* Non-const version; make sure to not overflow the internal array */
inline char *C()
{
return &(*this)[0];
}
/* Does not initialise the newly allocated characters */
void Resize(int count)
{
Write
Preview
Loading…
取消
儲存