Commit 673bbeb9 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

Don't rely on friends

Fix compilation on SunStudio. Avoid relying on combination of friend
declaration and nested class, which SunStudio gets wrong as it's quite
parent 7ff403a4
......@@ -144,7 +144,7 @@ public:
void trigger() {
query_->outstanding_ = false;
// We are not needed any more.
delete this;
......@@ -142,6 +142,13 @@ public:
interface_ = &dst_interface;
/// \brief The answer for upstream query was received
/// This should be called from within the FakeInterface only.
/// It marks that the query from upstream was answered.
void answerReceived() {
outstanding_ = false;
// The scheduled steps for this task.
typedef std::pair<Task, size_t> Step;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment