diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-10-10 15:47:08 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-11-14 16:56:10 +0000 |
| commit | 383ff4f68943c5d998fba8caa20aee481583f214 (patch) | |
| tree | 23eefe275400a75af13faa49af8198ba3ab1183c /src/cryptonote_core/cryptonote_core.cpp | |
| parent | 4754390725cdb4358ad302e4dc09b6a88e5e6d54 (diff) | |
| download | monzero-core-383ff4f68943c5d998fba8caa20aee481583f214.tar.gz monzero-core-383ff4f68943c5d998fba8caa20aee481583f214.tar.xz monzero-core-383ff4f68943c5d998fba8caa20aee481583f214.zip | |
remove "using namespace std" from headers
It's nasty, and actually breaks on Solaris, where if.h fails to
build due to:
struct map *if_memmap;
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
| -rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 3f56ffac7..a10692dad 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -498,8 +498,8 @@ namespace cryptonote return false; } - tx_hash = null_hash; - tx_prefixt_hash = null_hash; + tx_hash = crypto::null_hash; + tx_prefixt_hash = crypto::null_hash; if(!parse_tx_from_blob(tx, tx_hash, tx_prefixt_hash, tx_blob)) { |
