aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/complex.h
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-07-20 14:00:44 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-18 15:21:20 -0300
commitb4c007c3ee9932b7a384b2b4fcdc8b4be2dfbad9 (patch)
treee106cc99a076d3c4677b6afb4857fcb36b1351f9 /tests/libsample/complex.h
parentda5a88b3b53b4769e77eff1d48cc9a2c7152f6c2 (diff)
fixed tests exported symbols.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/libsample/complex.h')
-rw-r--r--tests/libsample/complex.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/libsample/complex.h b/tests/libsample/complex.h
index 9ee2a4eeb..2441d3ae8 100644
--- a/tests/libsample/complex.h
+++ b/tests/libsample/complex.h
@@ -43,10 +43,10 @@ public:
Complex(double real = 0.0, double imag = 0.0);
~Complex() {}
- double real() const { return m_real; }
- void setReal(double real) { m_real = real; }
- double imag() const { return m_imag; }
- void setImaginary(double imag) { m_imag = imag; }
+ inline double real() const { return m_real; }
+ inline void setReal(double real) { m_real = real; }
+ inline double imag() const { return m_imag; }
+ inline void setImaginary(double imag) { m_imag = imag; }
Complex operator+(Complex& other);