mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove the usage of boost::noncopyable
Prior to this half of the codebase used explicit deleted copy constructors, the others used boost::noncopyable.
This commit is contained in:
@@ -36,9 +36,13 @@ namespace solidity::frontend
|
||||
* Standard JSON compiler interface, which expects a JSON input and returns a JSON output.
|
||||
* See docs/using-the-compiler#compiler-input-and-output-json-description.
|
||||
*/
|
||||
class StandardCompiler: boost::noncopyable
|
||||
class StandardCompiler
|
||||
{
|
||||
public:
|
||||
/// Noncopyable.
|
||||
StandardCompiler(StandardCompiler const&) = delete;
|
||||
StandardCompiler& operator=(StandardCompiler const&) = delete;
|
||||
|
||||
/// Creates a new StandardCompiler.
|
||||
/// @param _readFile callback used to read files for import statements. Must return
|
||||
/// and must not emit exceptions.
|
||||
|
||||
Reference in New Issue
Block a user