projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a1cad6
)
Moved typedef to within public block to avoid compile error in VC++
author
Julian Smart
<julian@anthemion.co.uk>
Wed, 6 Mar 2002 09:34:59 +0000
(09:34 +0000)
committer
Julian Smart
<julian@anthemion.co.uk>
Wed, 6 Mar 2002 09:34:59 +0000
(09:34 +0000)
(can't access privately declared typedef)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14459
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
include/wx/dynarray.h
patch
|
blob
|
blame
|
history
diff --git
a/include/wx/dynarray.h
b/include/wx/dynarray.h
index 649e4b9797ebe3ed68127c2e62d7e18a1184c240..da55179b2393acac3af2b9e0a52ee901e85c8d61 100644
(file)
--- a/
include/wx/dynarray.h
+++ b/
include/wx/dynarray.h
@@
-94,6
+94,7
@@
public: \
bool IsEmpty() const { return m_nCount == 0; } \
size_t Count() const { return m_nCount; } \
\
+ typedef T base_type; \
protected: \
T& Item(size_t uiIndex) const \
{ wxASSERT( uiIndex < m_nCount ); return m_pItems[uiIndex]; } \
@@
-111,7
+112,6
@@
protected: \
void Sort(CMPFUNC fnCompare); \
\
private: \
- typedef T base_type; \
\
void Grow(); \
\