Let compiler implicitly delete copy operations

Because this class is implemented with unique pointers, copy semantics
are implicitly deleted. This can be verified by the type trait tests
which continue to affirm that these types are noncopyable.
This commit is contained in:
Chris Thrasher 2022-12-22 22:46:46 -06:00
parent ea94c620c6
commit 6ea07b810c
2 changed files with 0 additions and 24 deletions

View File

@ -60,18 +60,6 @@ public:
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
~InputSoundFile(); ~InputSoundFile();
////////////////////////////////////////////////////////////
/// \brief Deleted copy constructor
///
////////////////////////////////////////////////////////////
InputSoundFile(const InputSoundFile&) = delete;
////////////////////////////////////////////////////////////
/// \brief Deleted copy assignment
///
////////////////////////////////////////////////////////////
InputSoundFile& operator=(const InputSoundFile&) = delete;
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief Open a sound file from the disk for reading /// \brief Open a sound file from the disk for reading
/// ///

View File

@ -59,18 +59,6 @@ public:
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
~OutputSoundFile(); ~OutputSoundFile();
////////////////////////////////////////////////////////////
/// \brief Deleted copy constructor
///
////////////////////////////////////////////////////////////
OutputSoundFile(const OutputSoundFile&) = delete;
////////////////////////////////////////////////////////////
/// \brief Deleted copy assignment
///
////////////////////////////////////////////////////////////
OutputSoundFile& operator=(const OutputSoundFile&) = delete;
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief Open the sound file from the disk for writing /// \brief Open the sound file from the disk for writing
/// ///