Browse Source

Refix for Visual Studio.

cl-refactor
Tim Hughes 11 years ago
parent
commit
90da81e66d
  1. 1
      libethereum/Common.cpp
  2. 4
      libethereum/Common.h
  3. 1
      libethereum/State.cpp

1
libethereum/Common.cpp

@ -37,7 +37,6 @@
#include "Exceptions.h" #include "Exceptions.h"
using namespace std; using namespace std;
using namespace eth; using namespace eth;
using eth::byte;
//#define ETH_ADDRESS_DEBUG 1 //#define ETH_ADDRESS_DEBUG 1

4
libethereum/Common.h

@ -51,11 +51,13 @@
#include <boost/thread.hpp> #include <boost/thread.hpp>
#include "vector_ref.h" #include "vector_ref.h"
// CryptoPP defines byte in the global namespace, so so must we.
using byte = uint8_t;
namespace eth namespace eth
{ {
// Binary data types. // Binary data types.
using byte = uint8_t;
using bytes = std::vector<byte>; using bytes = std::vector<byte>;
using bytesRef = vector_ref<byte>; using bytesRef = vector_ref<byte>;
using bytesConstRef = vector_ref<byte const>; using bytesConstRef = vector_ref<byte const>;

1
libethereum/State.cpp

@ -45,7 +45,6 @@
#include "Defaults.h" #include "Defaults.h"
using namespace std; using namespace std;
using namespace eth; using namespace eth;
using eth::byte;
u256 const c_stepFee = 1; u256 const c_stepFee = 1;
u256 const c_dataFee = 20; u256 const c_dataFee = 20;

Loading…
Cancel
Save