OSDN Git Service
(root)
/
fooeditengine
/
FooEditEngine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6625a7c
)
StringBufferコンストラクターを最適化した
author
konekoneko
<test2214@hotmail.co.jp>
Wed, 8 Jul 2015 00:43:42 +0000
(09:43 +0900)
committer
konekoneko
<test2214@hotmail.co.jp>
Wed, 8 Jul 2015 00:43:42 +0000
(09:43 +0900)
Common/StringBuffer.cs
patch
|
blob
|
history
diff --git
a/Common/StringBuffer.cs
b/Common/StringBuffer.cs
index
da718e4
..
e83e1a1
100644
(file)
--- a/
Common/StringBuffer.cs
+++ b/
Common/StringBuffer.cs
@@
-44,7
+44,7
@@
namespace FooEditEngine
public StringBuffer(StringBuffer buffer)
\r
: this()
\r
{
\r
- buf.AddRange(buffer.buf);
\r
+ buf.AddRange(buffer.buf
, buffer.Length
);
\r
}
\r
\r
public char this[int index]
\r