Skip to content

Commit df38b36

Browse files
committed
resolve warning
1 parent bde58ff commit df38b36

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/code_testing.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
env:
7171
CC: ${{ steps.install_cc.outputs.cc }}
7272
CXX: ${{ steps.install_cc.outputs.cxx }}
73-
CXXFLAGS: -fsanitize=address,undefined -Wno-changes-meaning
73+
CXXFLAGS: -fsanitize=address,undefined
7474

7575
- name: Build tests and examples
7676
working-directory: build

include/dice/template-library/iter_to_range.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace dice::template_library {
3434

3535
struct iterator {
3636
using inner_iterator = Iter;
37-
using value_type = value_type;
37+
using value_type = typename Iter::value_type;
3838
using reference = value_type const &;
3939
using pointer = value_type const *;
4040
using difference_type = std::ptrdiff_t;

0 commit comments

Comments
 (0)