Browse Source

Fix for namespaces on GCC.

cl-refactor
Gav Wood 11 years ago
parent
commit
039710b34f
  1. 7
      libethereum/Common.cpp
  2. 6
      libethereum/State.cpp

7
libethereum/Common.cpp

@ -36,9 +36,8 @@
#endif
#include "Exceptions.h"
using namespace std;
namespace eth
{
using namespace eth;
using eth::byte;
//#define ETH_ADDRESS_DEBUG 1
@ -283,5 +282,3 @@ std::string eth::formatBalance(u256 _b)
ret << _b << " wei";
return ret.str();
}
}

6
libethereum/State.cpp

@ -44,8 +44,8 @@
#include "Dagger.h"
#include "Defaults.h"
using namespace std;
namespace eth {
using namespace eth;
using eth::byte;
u256 const c_stepFee = 1;
u256 const c_dataFee = 20;
@ -1242,5 +1242,3 @@ void State::execute(Address _myAddress, Address _txSender, u256 _txValue, u256s
}
}
}
}

Loading…
Cancel
Save