From 534bd2a2f3546ec1edc8a81432cd6b8de045fdac Mon Sep 17 00:00:00 2001 From: arkpar Date: Mon, 16 Mar 2015 15:29:16 +0100 Subject: [PATCH] fixed msvc build: --- mix/CodeModel.cpp | 3 ++- mix/CodeModel.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mix/CodeModel.cpp b/mix/CodeModel.cpp index f033c3405..51c91c3bf 100644 --- a/mix/CodeModel.cpp +++ b/mix/CodeModel.cpp @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -308,7 +309,7 @@ dev::bytes const& CodeModel::getStdContractCode(const QString& _contractName, co return m_compiledContracts.at(_contractName); } -SolidityType CodeModel::nodeType(solidity::Type const* _type) +SolidityType CodeModel::nodeType(dev::solidity::Type const* _type) { SolidityType r { SolidityType::Type::UnsignedInteger, 32, false, false, QString::fromStdString(_type->toString()), std::vector(), std::vector() }; if (!_type) diff --git a/mix/CodeModel.h b/mix/CodeModel.h index 758cef48a..8f84b103d 100644 --- a/mix/CodeModel.h +++ b/mix/CodeModel.h @@ -148,7 +148,7 @@ public: /// Reset code model Q_INVOKABLE void reset() { reset(QVariantMap()); } /// Convert solidity type info to mix type - static SolidityType nodeType(solidity::Type const* _type); + static SolidityType nodeType(dev::solidity::Type const* _type); signals: /// Emited on compilation state change