kraken: engine: non-const 'output' on listener
This commit is contained in:
parent
8474ed0c69
commit
d159cfb877
|
@ -10,6 +10,10 @@ csv::csv_type const& CsvEngineListener::output() const {
|
|||
return output_;
|
||||
}
|
||||
|
||||
csv::csv_type& CsvEngineListener::output() {
|
||||
return output_;
|
||||
}
|
||||
|
||||
void CsvEngineListener::on_acknowledgement(User user, UserOrderId id) {
|
||||
output_.emplace_back(csv::csv_line_type{
|
||||
"A",
|
||||
|
|
|
@ -14,6 +14,7 @@ struct CsvEngineListener : EngineListener {
|
|||
virtual ~CsvEngineListener();
|
||||
|
||||
csv::csv_type const& output() const;
|
||||
csv::csv_type& output();
|
||||
|
||||
/// Called when a new trade or cancel order has been acknowledged.
|
||||
void on_acknowledgement(User user, UserOrderId id) override;
|
||||
|
|
Loading…
Reference in a new issue