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 <lars@metafoo.de> |
||
|---|---|---|
| .. | ||
| LineInfo.cc | ||
| LineInfo.h | ||
| StringHeap.cc | ||
| StringHeap.h | ||