Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
57e367e4
Commit
57e367e4
authored
Mar 25, 2019
by
Praetorius, Simon
Browse files
virtual inheritance of ProblemTimeinterface in ProblemInstat
parent
557efb43
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/amdis/ProblemInstatBase.hpp
View file @
57e367e4
...
...
@@ -17,18 +17,20 @@ namespace AMDiS
* Base class for \ref ProblemInstat.
*/
class
ProblemInstatBase
:
public
ProblemTimeInterface
:
public
virtual
ProblemTimeInterface
{
public:
/// Constructor.
ProblemInstatBase
(
std
::
string
const
&
name
)
:
name_
(
name
)
:
ProblemTimeInterface
()
,
name_
(
name
)
{}
/// Constructor. Stores a pointer to the provided initialProblem.
ProblemInstatBase
(
std
::
string
const
&
name
,
ProblemStatBase
&
initialProblem
)
:
name_
(
name
)
:
ProblemTimeInterface
()
,
name_
(
name
)
,
initialProblem_
(
&
initialProblem
)
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment