From c892d1904b4a9cbfdb8ca6b91c8675ea908ae06e Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 16 Sep 2021 16:03:27 +0200 Subject: [PATCH] Simplify version.cpp --- libsolidity/interface/Version.cpp | 4 ---- libsolidity/interface/Version.h | 10 ++++++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/libsolidity/interface/Version.cpp b/libsolidity/interface/Version.cpp index 297333b6b..0017b6de1 100644 --- a/libsolidity/interface/Version.cpp +++ b/libsolidity/interface/Version.cpp @@ -23,11 +23,7 @@ #include -#include -#include -#include #include -#include using namespace std; diff --git a/libsolidity/interface/Version.h b/libsolidity/interface/Version.h index a5965d42e..bc05fb403 100644 --- a/libsolidity/interface/Version.h +++ b/libsolidity/interface/Version.h @@ -23,10 +23,15 @@ #pragma once -#include +#include +#include #include -namespace solidity::frontend +namespace solidity +{ +using bytes = std::vector; + +namespace frontend { extern char const* VersionNumber; @@ -36,3 +41,4 @@ extern bytes const VersionCompactBytes; extern bool const VersionIsRelease; } +}