mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-29 01:03:29 +02:00
The LineInfo class defines a copy-constructor, but relies on the default copy-assignment operator. In newer versions of C++ this deprecated and modern compilers generate a warning about this. A class must either use the default copy-constructor and default copy-assignment operator or provide a user defined version of both. Since the current user-defined copy-constructor for LineInfo does the same as the default copy-constructor, remove the custom one and rely on the default constructor. Signed-off-by: Lars-Peter Clausen <[email protected]>