summaryrefslogtreecommitdiffstats
path: root/src/common/WeightedPriorityQueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/WeightedPriorityQueue.h')
-rw-r--r--src/common/WeightedPriorityQueue.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/WeightedPriorityQueue.h b/src/common/WeightedPriorityQueue.h
index cf34709b9..c8d92b5e0 100644
--- a/src/common/WeightedPriorityQueue.h
+++ b/src/common/WeightedPriorityQueue.h
@@ -346,7 +346,11 @@ class WeightedPriorityQueue : public OpQueue <T, K>
}
void print(std::ostream &ostream) const final {
- ostream << "WeightedPriorityQueue";
+ ostream << get_op_queue_type_name(get_type());
+ }
+
+ op_queue_type_t get_type() const final {
+ return op_queue_type_t::WeightedPriorityQueue;
}
};