File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ class f_to_string_t {
68
68
constexpr auto size () const noexcept { return sizeof (buf) / sizeof (buf[0 ]); }
69
69
// Element access
70
70
constexpr auto data () noexcept { return buf; }
71
- constexpr const auto data () const noexcept { return buf; }
71
+ constexpr auto data () const noexcept { return buf; }
72
72
constexpr auto & operator [](unsigned int i) noexcept { return buf[i]; }
73
73
constexpr const auto & operator [](unsigned int i) const noexcept { return buf[i]; }
74
74
constexpr auto & front () noexcept { return buf[0 ]; }
@@ -77,9 +77,9 @@ class f_to_string_t {
77
77
constexpr const auto & back () const noexcept { return buf[size () - 1 ]; }
78
78
// Iterators
79
79
constexpr auto begin () noexcept { return buf; }
80
- constexpr const auto begin () const noexcept { return buf; }
80
+ constexpr auto begin () const noexcept { return buf; }
81
81
constexpr auto end () noexcept { return buf + size (); }
82
- constexpr const auto end () const noexcept { return buf + size (); }
82
+ constexpr auto end () const noexcept { return buf + size (); }
83
83
};
84
84
85
85
} // namespace constexpr_to_string
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class to_string_t {
58
58
59
59
// Element access
60
60
constexpr auto data () noexcept { return buf; }
61
- constexpr const auto data () const noexcept { return buf; }
61
+ constexpr auto data () const noexcept { return buf; }
62
62
constexpr auto & operator [](unsigned int i) noexcept { return buf[i]; }
63
63
constexpr const auto & operator [](unsigned int i) const noexcept { return buf[i]; }
64
64
constexpr auto & front () noexcept { return buf[0 ]; }
@@ -68,9 +68,9 @@ class to_string_t {
68
68
69
69
// Iterators
70
70
constexpr auto begin () noexcept { return buf; }
71
- constexpr const auto begin () const noexcept { return buf; }
71
+ constexpr auto begin () const noexcept { return buf; }
72
72
constexpr auto end () noexcept { return buf + size (); }
73
- constexpr const auto end () const noexcept { return buf + size (); }
73
+ constexpr auto end () const noexcept { return buf + size (); }
74
74
};
75
75
76
76
} // namespace constexpr_to_string
You can’t perform that action at this time.
0 commit comments