summaryrefslogtreecommitdiff
path: root/src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex_base.h
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2022-11-04 23:46:45 +0100
committerMarc Glisse <marc.glisse@inria.fr>2022-11-04 23:46:45 +0100
commitf5af745c4f671f477365115bedf17d167b8d07a5 (patch)
treece992758852c5f1438f67299cf676daaa202c039 /src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex_base.h
parent4246261962f5b3f37cf4e845ff192da2be023834 (diff)
Fix bogus traits.
Not great, but less broken.
Diffstat (limited to 'src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex_base.h')
-rw-r--r--src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex_base.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex_base.h b/src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex_base.h
index 253e4a54..2bf62f9b 100644
--- a/src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex_base.h
+++ b/src/Bitmap_cubical_complex/include/gudhi/Bitmap_cubical_complex_base.h
@@ -254,10 +254,10 @@ class Bitmap_cubical_complex_base {
class All_cells_iterator {
public:
typedef std::input_iterator_tag iterator_category;
- typedef T value_type;
+ typedef std::size_t value_type;
typedef std::ptrdiff_t difference_type;
typedef value_type* pointer;
- typedef value_type& reference;
+ typedef value_type reference;
All_cells_iterator() { this->counter = 0; }
@@ -364,10 +364,10 @@ class Bitmap_cubical_complex_base {
class Top_dimensional_cells_iterator {
public:
typedef std::input_iterator_tag iterator_category;
- typedef T value_type;
+ typedef std::size_t value_type;
typedef std::ptrdiff_t difference_type;
typedef value_type* pointer;
- typedef value_type& reference;
+ typedef value_type reference;
Top_dimensional_cells_iterator(Bitmap_cubical_complex_base& b) : b(b) {
this->counter = std::vector<std::size_t>(b.dimension());