summaryrefslogtreecommitdiff
path: root/contrib/dotzlib/DotZLib/CircularBuffer.cs
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:27:17 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:27:17 -0700
commite0ff940e1adb68d3575705ebf1546d9f07ad3b4a (patch)
tree792ac6996d1225c0955027050296126bc8ff6e26 /contrib/dotzlib/DotZLib/CircularBuffer.cs
parent7df877eccdd826e94df53215f65dee639428e83f (diff)
downloadzlib-1.2.3.8.tar.gz
zlib-1.2.3.8.tar.bz2
zlib-1.2.3.8.zip
zlib 1.2.3.8v1.2.3.8
Diffstat (limited to 'contrib/dotzlib/DotZLib/CircularBuffer.cs')
-rw-r--r--contrib/dotzlib/DotZLib/CircularBuffer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/dotzlib/DotZLib/CircularBuffer.cs b/contrib/dotzlib/DotZLib/CircularBuffer.cs
index 16997e9..c1cab3a 100644
--- a/contrib/dotzlib/DotZLib/CircularBuffer.cs
+++ b/contrib/dotzlib/DotZLib/CircularBuffer.cs
@@ -1,7 +1,7 @@
1// 1//
2// © Copyright Henrik Ravn 2004 2// © Copyright Henrik Ravn 2004
3// 3//
4// Use, modification and distribution are subject to the Boost Software License, Version 1.0. 4// Use, modification and distribution are subject to the Boost Software License, Version 1.0.
5// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6// 6//
7 7
@@ -25,7 +25,7 @@ namespace DotZLib
25 #endregion 25 #endregion
26 26
27 public CircularBuffer(int capacity) 27 public CircularBuffer(int capacity)
28 { 28 {
29 Debug.Assert( capacity > 0 ); 29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity]; 30 _buffer = new byte[capacity];
31 _capacity = capacity; 31 _capacity = capacity;