summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-03-02 15:09:17 -0300
committerHugo Lima <hugo.lima@openbossa.org>2010-03-02 17:18:20 -0300
commit6876a8978adc8f6ca08a6c4bd876d2d44babfdac (patch)
tree0bd23efc15c1b0b086cfe7e8202924bcd1a9f8c8 /tests
parent3a4263a603b8caa4f93dcd534971bf7ffaf65e9f (diff)
downloadshiboken-6876a8978adc8f6ca08a6c4bd876d2d44babfdac.tar.gz
shiboken-6876a8978adc8f6ca08a6c4bd876d2d44babfdac.tar.xz
shiboken-6876a8978adc8f6ca08a6c4bd876d2d44babfdac.zip
Turn Number::m_value private to not cause problem when compiling with "avoid protected hack" on.
Diffstat (limited to 'tests')
-rw-r--r--tests/libother/number.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libother/number.h b/tests/libother/number.h
index bbbd830b..d739802d 100644
--- a/tests/libother/number.h
+++ b/tests/libother/number.h
@@ -47,7 +47,7 @@ public:
Str toStr() const;
operator Str() const { return toStr(); }
-protected:
+private:
int m_value;
};
#endif // NUMBER_H