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:
Alex Beregszaszi
2021-04-23 14:57:01 +01:00
parent 15decd2413
commit e39433198d
20 changed files with 70 additions and 38 deletions
+5 -1
View File
@@ -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.