Browse Source

Fixes for Windows

Former-commit-id: 1aaa1fee36
tempestpy_adaptions
David_Korzeniewski 10 years ago
parent
commit
135b40e887
  1. 8
      src/storage/StateBlock.cpp
  2. 8
      src/storage/StateBlock.h
  3. 2
      src/storage/StronglyConnectedComponent.h

8
src/storage/StateBlock.cpp

@ -2,19 +2,19 @@
namespace storm {
namespace storage {
typename StateBlock::iterator StateBlock::begin() {
StateBlock::iterator StateBlock::begin() {
return states.begin();
}
typename StateBlock::const_iterator StateBlock::begin() const {
StateBlock::const_iterator StateBlock::begin() const {
return states.begin();
}
typename StateBlock::iterator StateBlock::end() {
StateBlock::iterator StateBlock::end() {
return states.end();
}
typename StateBlock::const_iterator StateBlock::end() const {
StateBlock::const_iterator StateBlock::end() const {
return states.end();
}

8
src/storage/StateBlock.h

@ -17,16 +17,16 @@ namespace storm {
class StateBlock {
public:
typedef FlatSetStateContainer container_type;
typedef typename container_type::value_type value_type;
typedef container_type::value_type value_type;
static_assert(std::is_same<value_type, sparse::state_type>::value, "Illegal value type of container.");
typedef typename container_type::iterator iterator;
typedef typename container_type::const_iterator const_iterator;
typedef container_type::iterator iterator;
typedef container_type::const_iterator const_iterator;
// Default constructors.
StateBlock() = default;
StateBlock(StateBlock const& other) = default;
StateBlock(StateBlock&& other) = default;
#ifndef WINDOWS
StateBlock(StateBlock&& other) = default;
StateBlock& operator=(StateBlock const& other) = default;
StateBlock& operator=(StateBlock&& other) = default;
#endif

2
src/storage/StronglyConnectedComponent.h

@ -16,8 +16,8 @@ namespace storm {
public:
StronglyConnectedComponent() = default;
StronglyConnectedComponent(StronglyConnectedComponent const& other) = default;
StronglyConnectedComponent(StronglyConnectedComponent&& other) = default;
#ifndef WINDOWS
StronglyConnectedComponent(StronglyConnectedComponent&& other) = default;
StronglyConnectedComponent& operator=(StronglyConnectedComponent const& other) = default;
StronglyConnectedComponent& operator=(StronglyConnectedComponent&& other) = default;
#endif
Loading…
Cancel
Save