Skip to content

Commit

Permalink
SOUND: Mark AudioStram as noncopyable
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Oct 23, 2016
1 parent 69923bf commit 3eb8ae3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sound/audiostream.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
#ifndef SOUND_AUDIOSTREAM_H
#define SOUND_AUDIOSTREAM_H

#include <boost/noncopyable.hpp>

#include "src/common/util.h"
#include "src/common/types.h"

Expand All @@ -59,7 +61,7 @@ namespace Sound {
* Generic audio input stream. Subclasses of this are used to feed arbitrary
* sampled audio data into xoreos' SoundManager.
*/
class AudioStream {
class AudioStream : boost::noncopyable {
public:
static const size_t kSizeInvalid = SIZE_MAX;

Expand Down

0 comments on commit 3eb8ae3

Please sign in to comment.