Browse Source

Fix transform_iterator thingamajig

Former-commit-id: 38313193b6
tempestpy_adaptions
hbruintjes 9 years ago
parent
commit
14208d8f58
  1. 2
      src/storage/jani/VariableSet.cpp
  2. 2
      src/storage/jani/VariableSet.h
  3. 1
      src/storage/prism/HidingComposition.h
  4. 1
      src/storage/prism/RenamingComposition.h

2
src/storage/jani/VariableSet.cpp

@ -10,7 +10,7 @@ namespace storm {
namespace detail { namespace detail {
template<typename VariableType> template<typename VariableType>
VariableType& Dereferencer<VariableType>::operator()(std::shared_ptr<VariableType> const& d) {
VariableType& Dereferencer<VariableType>::operator()(std::shared_ptr<VariableType> const& d) const {
return *d; return *d;
} }

2
src/storage/jani/VariableSet.h

@ -19,7 +19,7 @@ namespace storm {
template<typename VariableType> template<typename VariableType>
class Dereferencer { class Dereferencer {
public: public:
VariableType& operator()(std::shared_ptr<VariableType> const& d);
VariableType& operator()(std::shared_ptr<VariableType> const& d) const;
}; };
template<typename VariableType> template<typename VariableType>

1
src/storage/prism/HidingComposition.h

@ -3,6 +3,7 @@
#include <set> #include <set>
#include <string> #include <string>
#include <memory>
#include "src/storage/prism/Composition.h" #include "src/storage/prism/Composition.h"

1
src/storage/prism/RenamingComposition.h

@ -1,6 +1,7 @@
#ifndef STORM_STORAGE_PRISM_RENAMINGCOMPOSITION_H_ #ifndef STORM_STORAGE_PRISM_RENAMINGCOMPOSITION_H_
#define STORM_STORAGE_PRISM_RENAMINGCOMPOSITION_H_ #define STORM_STORAGE_PRISM_RENAMINGCOMPOSITION_H_
#include <memory>
#include <string> #include <string>
#include <map> #include <map>
#include <boost/optional.hpp> #include <boost/optional.hpp>

Loading…
Cancel
Save