Use a special pair with the inner objects const when looking up order books.

See: http://ideone.com/QggSh9
This commit is contained in:
JoelKatz
2013-03-16 04:59:52 -07:00
parent e477bcd6a9
commit efcc7b885c
2 changed files with 5 additions and 4 deletions

View File

@@ -16,6 +16,7 @@
//
typedef std::pair<uint160, uint160> currencyIssuer_t;
typedef std::pair<const uint160&, const uint160&> currencyIssuer_ct;
class BookListeners
{