Browse Source

fixed msvc build

cl-refactor
arkpar 10 years ago
parent
commit
15c92843b7
  1. 2
      mix/HttpServer.cpp
  2. 2
      mix/QContractDefinition.cpp
  3. 2
      mix/QContractDefinition.h

2
mix/HttpServer.cpp

@ -72,7 +72,7 @@ void HttpServer::setPort(int _port)
QString HttpServer::errorString() const QString HttpServer::errorString() const
{ {
return this->errorString(); return QTcpServer::errorString();
} }
void HttpServer::setListen(bool _listen) void HttpServer::setListen(bool _listen)

2
mix/QContractDefinition.cpp

@ -45,7 +45,7 @@ QContractDefinition::QContractDefinition(dev::solidity::ContractDefinition const
} }
QFunctionDefinition* QContractDefinition::getFunction(FixedHash<4> _hash) QFunctionDefinition* QContractDefinition::getFunction(dev::FixedHash<4> _hash)
{ {
if (m_constructor->hash() == _hash) if (m_constructor->hash() == _hash)
return m_constructor; return m_constructor;

2
mix/QContractDefinition.h

@ -47,7 +47,7 @@ public:
QFunctionDefinition* constructor() const { return m_constructor; } QFunctionDefinition* constructor() const { return m_constructor; }
QList<QFunctionDefinition*> const& functionsList() const { return m_functions; } QList<QFunctionDefinition*> const& functionsList() const { return m_functions; }
/// Find function by hash, returns nullptr if not found /// Find function by hash, returns nullptr if not found
QFunctionDefinition* getFunction(FixedHash<4> _hash); QFunctionDefinition* getFunction(dev::FixedHash<4> _hash);
private: private:
QList<QFunctionDefinition*> m_functions; QList<QFunctionDefinition*> m_functions;
QFunctionDefinition* m_constructor; QFunctionDefinition* m_constructor;

Loading…
Cancel
Save