Skip to content

Conversation

@S1eGa
Copy link
Collaborator

@S1eGa S1eGa commented Aug 21, 2023

For configuration

clang version 10.0.0-4ubuntu1
Target: x86_64-pc-linux-gnu
Thread model: posix

build fails with error error: no type named `difference_type' in `struct std::iterator_traits<klee::ImmutableTree<klee::ref<klee::Target>, klee::ref<klee::Target>, klee::_Identity<klee::ref<klee::Target>>, std::less<klee::ref<klee::Target>>>::iterator>'on this line:

DistanceResult stateDistance = distance(state, target);

Problem resolves with addition of using declarations in iterator declaration.

@S1eGa S1eGa added the bug Something isn't working label Aug 21, 2023
@S1eGa S1eGa requested a review from ocelaiwo August 21, 2023 12:40
@S1eGa S1eGa force-pushed the immutable-tree-iterator-fix branch from b5f42ff to 9a654dc Compare August 21, 2023 12:49
@S1eGa S1eGa force-pushed the immutable-tree-iterator-fix branch from 9a654dc to 2e91249 Compare August 21, 2023 12:56
@S1eGa S1eGa merged commit e15e10b into UnitTestBot:main Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants