summaryrefslogtreecommitdiff
path: root/gtk2_ardour/fft_result.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-26 00:58:35 +0000
committerDavid Robillard <d@drobilla.net>2009-02-26 00:58:35 +0000
commit03536cd399131e3fec54c95ae5ac6f11dca05aef (patch)
treece73dfb9f1258c79f0e985840a12842154683479 /gtk2_ardour/fft_result.h
parent3bc71af0ca89354670243e600c70374bfb224c6d (diff)
Fix a bunch of warnings.
Clean up. git-svn-id: svn://localhost/ardour2/branches/3.0@4668 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/fft_result.h')
-rw-r--r--gtk2_ardour/fft_result.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/fft_result.h b/gtk2_ardour/fft_result.h
index fa2a569108..2042b2d042 100644
--- a/gtk2_ardour/fft_result.h
+++ b/gtk2_ardour/fft_result.h
@@ -39,16 +39,16 @@ class FFTResult
void analyzeWindow(float *window);
void finalize();
- const int length() { return _dataSize; }
+ int length() const { return _dataSize; }
float avgAt(int x);
float maxAt(int x);
float minAt(int x);
- const float minimum() { return _minimum; }
- const float maximum() { return _maximum; }
+ float minimum() const { return _minimum; }
+ float maximum() const { return _maximum; }
- const Gdk::Color get_color() { return _color; }
+ Gdk::Color get_color() const { return _color; }
private:
FFTResult(FFTGraph *graph, Gdk::Color color, std::string trackname);