Merge pull request #11981 from ethereum/simplifyVersion

Simplify version.cpp
This commit is contained in:
chriseth 2021-09-16 18:28:19 +02:00 committed by GitHub
commit 3f8023ace9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 6 deletions

View File

@ -23,11 +23,7 @@
#include <libsolidity/interface/Version.h>
#include <liblangutil/Exceptions.h>
#include <libsolutil/CommonData.h>
#include <libsolutil/Common.h>
#include <solidity/BuildInfo.h>
#include <string>
using namespace std;

View File

@ -23,10 +23,15 @@
#pragma once
#include <libsolutil/Common.h>
#include <cstdint>
#include <vector>
#include <string>
namespace solidity::frontend
namespace solidity
{
using bytes = std::vector<uint8_t>;
namespace frontend
{
extern char const* VersionNumber;
@ -36,3 +41,4 @@ extern bytes const VersionCompactBytes;
extern bool const VersionIsRelease;
}
}