Skip to content

Commit

Permalink
COMMON: Mark the Fourier Transform classes as noncopyable
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Oct 23, 2016
1 parent 98a0dd7 commit 5b95c66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/common/fft.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,16 @@
#ifndef COMMON_FFT_H
#define COMMON_FFT_H

#include <boost/noncopyable.hpp>

#include "src/common/types.h"

namespace Common {

struct Complex;

/** (Inverse) Fast Fourier Transform. */
class FFT {
class FFT : boost::noncopyable {
public:
FFT(int bits, bool inverse);
~FFT();
Expand Down
4 changes: 3 additions & 1 deletion src/common/mdct.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,16 @@
#ifndef COMMON_MDCT_H
#define COMMON_MDCT_H

#include <boost/noncopyable.hpp>

#include "src/common/types.h"

namespace Common {

class FFT;

/** (Inverse) Modified Discrete Cosine Transforms. */
class MDCT {
class MDCT : boost::noncopyable {
public:
MDCT(int bits, bool inverse, double scale);
~MDCT();
Expand Down

0 comments on commit 5b95c66

Please sign in to comment.