[Sumover-dev] [svn commit] r4310 - vic/branches/cc/cc/test
sumover-dev at cs.ucl.ac.uk
sumover-dev at cs.ucl.ac.uk
Tue Nov 11 12:20:27 GMT 2008
Author: soohyunc
Date: Tue Nov 11 12:20:24 2008
New Revision: 4310
Modified:
vic/branches/cc/cc/test/buffer.cpp
Log:
(bug fix)
there was a bug at insert_end() method in buffer.cpp
Modified: vic/branches/cc/cc/test/buffer.cpp
==============================================================================
--- vic/branches/cc/cc/test/buffer.cpp (original)
+++ vic/branches/cc/cc/test/buffer.cpp Tue Nov 11 12:20:24 2008
@@ -33,7 +33,7 @@
// insert end
void Buffer::insert_end (int val) {
- if (tail_) {
+ if (!tail_) {
tail_ = head_ = new Data (val);
} else {
tail_ = new Data (val, tail_);
More information about the Sumover-dev
mailing list