Browse Source

small changes

cl-refactor
yann300 10 years ago
parent
commit
9111b31ca7
  1. 5
      mix/CodeModel.cpp

5
mix/CodeModel.cpp

@ -363,7 +363,10 @@ void CodeModel::gasEstimation(solidity::CompilerStack const& _cs)
QVariantList CodeModel::gasCostByDocumentId(QString const& _documentId) const
{
return m_gasCostsMaps->gasCostsByDocId(_documentId);
if (m_gasCostsMaps)
return m_gasCostsMaps->gasCostsByDocId(_documentId);
else
return QVariantList();
}
void CodeModel::collectContracts(dev::solidity::CompilerStack const& _cs, std::vector<std::string> const& _sourceNames)

Loading…
Cancel
Save