warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e1673bb613
commit
b9a83129c6
1 changed files with 3 additions and 1 deletions
|
|
@ -19,13 +19,15 @@
|
|||
// typename t_alloc<t_item>::alloc_type allotype; // SWIG can't handle this yet
|
||||
void xx() {
|
||||
typename t_alloc<t_item>::alloc_type atype; // this type is the same as t_item type
|
||||
atype = 10;
|
||||
atype = true;
|
||||
}
|
||||
};
|
||||
|
||||
void TestInstantiations() {
|
||||
pfc::array_t<int, pfc::alloc_fast> myArrayInt;
|
||||
list_impl_t<int, pfc::array_t<int, pfc::alloc_fast> > myListImplInt;
|
||||
(void) myArrayInt;
|
||||
(void) myListImplInt;
|
||||
}
|
||||
%}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue