Simplify version.cpp

This commit is contained in:
chriseth 2021-09-16 16:03:27 +02:00
parent 9d29b1ed9c
commit c892d1904b
2 changed files with 8 additions and 6 deletions

View File

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

View File

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