mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Merge pull request #11981 from ethereum/simplifyVersion
Simplify version.cpp
This commit is contained in:
		
						commit
						3f8023ace9
					
				| @ -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; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -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; | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
|  | } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user