Skip to content

Commit

Permalink
Swap comments
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtheschmitzer committed Apr 30, 2013
1 parent 8ca4216 commit a8f9bae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/book/order.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@

namespace liquibook { namespace book {

/// @brief generic listener of order events. Used by common version of
/// OrderBook::process_callback().
/// @brief interface an order must implement in order to be used by OrderBook.
/// Note: structly speaking, inheriting from Order should not be required,
/// due to the template implementation of OrderBook.
class Order {
public:
/// @brief is this a limit order?
Expand Down
5 changes: 2 additions & 3 deletions src/book/order_listener.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@

namespace liquibook { namespace book {

/// @brief interface an order must implement in order to be used by OrderBook.
/// Note: structly speaking, inheriting from Order should not be required,
/// due to the template implementation of OrderBook.
/// @brief generic listener of order events. Used by common version of
/// OrderBook::process_callback().
template <class OrderPtr = Order*>
class OrderListener {
public:
Expand Down

0 comments on commit a8f9bae

Please sign in to comment.