summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/buffer.cc
diff options
context:
space:
mode:
authorMoritz Fischer <moritz@ettus.com>2013-12-07 13:57:43 +0100
committerJohnathan Corgan <johnathan@corganlabs.com>2013-12-07 08:20:24 -0800
commit9a72fbbbc55f27bd01dfcfac2fa90b950c5c076d (patch)
tree84e570ef6763352ffbd5914e6dd76eb24d09b008 /gnuradio-runtime/lib/buffer.cc
parentd27301fc967e14903202b12b45477ef0ed9b5998 (diff)
runtime: Minor cosmetic typo and whitespace corrections.
Signed-off-by: Moritz Fischer <moritz@ettus.com>
Diffstat (limited to 'gnuradio-runtime/lib/buffer.cc')
-rw-r--r--gnuradio-runtime/lib/buffer.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnuradio-runtime/lib/buffer.cc b/gnuradio-runtime/lib/buffer.cc
index afa3efac34..162324e590 100644
--- a/gnuradio-runtime/lib/buffer.cc
+++ b/gnuradio-runtime/lib/buffer.cc
@@ -40,7 +40,7 @@ namespace gr {
/* ----------------------------------------------------------------------------
Notes on storage management
-
+
Pretty much all the fundamental classes are now using the
shared_ptr stuff for automatic reference counting. To ensure that
no mistakes are made, we make the constructors for classes private,
@@ -68,7 +68,7 @@ namespace gr {
/*
* Compute the minimum number of buffer items that work (i.e.,
* address space wrap-around works). To work is to satisfy this
- * contraint for integer buffer_size and k:
+ * constraint for integer buffer_size and k:
*
* type_size * nitems == k * page_size
*/
@@ -79,7 +79,7 @@ namespace gr {
}
- buffer::buffer(int nitems, size_t sizeof_item, block_sptr link)
+ buffer::buffer(int nitems, size_t sizeof_item, block_sptr link)
: d_base(0), d_bufsize(0), d_max_reader_delay(0), d_vmcircbuf(0),
d_sizeof_item(sizeof_item), d_link(link),
d_write_index(0), d_abs_write_offset(0), d_done(false),
@@ -356,7 +356,7 @@ namespace gr {
v.back().marked_deleted.clear();
}
}
-
+
itr++;
}
}