Fixed helper function CreateVectorOfStructs calling wrong variant.
Fixed helper function CreateVectorOfStructs calling wrong variant.

Change-Id: I4fd2a309276590227921ede467503f56b65ac689
Tested: on Windows and Linux

tieusangaka/flatbuffers,jbrads/flatbuffers,tieusangaka/flatbuffers,jekinchen/flatjni,alexames/flatbuffers,mormegil-cz/flatbuffers,zarianw/flatbuffers,DavadDi/flatbuffers,jasonstubbs/flatbuffers,lulufei/flatbuffers,dwillmer/flatbuffers,Volcanoscar/flatbuffers,davidnasar/flatbuffers,DavadDi/flatbuffers,evolutional/flatbuffers,xiaPier/flatbuffers,chobie/flatbuffers,brunoqc/flatbuffers,FrankStain/flatbuffers,wingahi/flatbuffers,splhack/flatbuffers,endorph-soft/flatbuffers,jbrads/flatbuffers,Reimerei/flatbuffers,yaolinz/flatbuffers,vitalyisaev2/flatbuffers,Belxjander/flatbuffers,chobie/flatbuffers,royalharsh/flatbuffers,vanloswang/flatbuffers,EricLagergren/flatbuffers,FrankStain/flatbuffers,fuchsia-mirror/third_party-flatbuffers,jekinchen/flatjni,Reimerei/flatbuffers,vanloswang/flatbuffers,alexames/flatbuffers,evolutional/flatbuffers,robertfsegal/flatbuffers,kiyoto-suzuki/flatbuffers,jbrads/flatbuffers,splhack/flatbuffers,rdumusc/flatbuffers,FrankStain/flatbuffers,iperry/flatbuffers,chobie/flatbuffers,DavadDi/flatbuffers,chenkai036/flatbuffers,alexames/flatbuffers,dwillmer/flatbuffers,fengshao0907/flatbuffers,EricLagergren/flatbuffers,evolutional/flatbuffers,ajrulez/flatbuffers,wuyan6293/flatbuffers,DreamHill/flatbuffers,rw/flatbuffers,pjulien/flatbuffers,BlueBrain/flatbuffers,bog-dan-ro/flatbuffers,pakoito/flatbuffers,RAldrich/flatbuffers,fuchsia-mirror/third_party-flatbuffers,hanhailong/flatbuffers,arbitrary-cat/flatbuffers,evolutional/flatbuffers,vitalyisaev2/flatbuffers,xudeheng/flatbuffers,radent/flatbuffers,benssson/flatbuffers,wingahi/flatbuffers,alexames/flatbuffers,chobie/flatbuffers,pakoito/flatbuffers,JackLian/flatbuffers,DreamHill/flatbuffers,davidnasar/flatbuffers,alexames/flatbuffers,kusharami/flatbuffers,jbrads/flatbuffers,chobie/flatbuffers,kusharami/flatbuffers,alexames/flatbuffers,Volcanoscar/flatbuffers,alarouche/flatbuffers,felixguendling/flatbuffers,SinbadFreedom/FlatBuffer,aeneid/flatbuffers,jekinchen/flatjni,kadirahq/flatbuffers,royalharsh/flatbuffers,google/flatbuffers,aeneid/flatbuffers,royalharsh/flatbuffers,royalharsh/flatbuffers,alarouche/flatbuffers,uus169/flatbuffers,SinbadFreedom/FlatBuffer,iperry/flatbuffers,felixguendling/flatbuffers,Volcanoscar/flatbuffers,google/flatbuffers,MiCHiLU/flatbuffers,dwillmer/flatbuffers,fengshao0907/flatbuffers,fuchsia-mirror/third_party-flatbuffers,brunoqc/flatbuffers,google/flatbuffers,evolutional/flatbuffers,endorph-soft/flatbuffers,rw/flatbuffers,marschall/flatbuffers,eburkitt/flatbuffers,Reimerei/flatbuffers,yiliaofan/flatbuffers,bog-dan-ro/flatbuffers,endorph-soft/flatbuffers,yaolinz/flatbuffers,hgl888/flatbuffers,i17c/flatbuffers,hanhailong/flatbuffers,evanw/flatbuffers,Belxjander/flatbuffers,vanloswang/flatbuffers,zarianw/flatbuffers,vitalyisaev2/flatbuffers,pjulien/flatbuffers,wheelcomplex/flatbuffers,chobie/flatbuffers,onecityuni/flatbuffers,robertfsegal/flatbuffers,endorph-soft/flatbuffers,kiyoto-suzuki/flatbuffers,Reimerei/flatbuffers,onecityuni/flatbuffers,eburkitt/flatbuffers,1yvT0s/flatbuffers,MiCHiLU/flatbuffers,marschall/flatbuffers,mormegil-cz/flatbuffers,google/flatbuffers,google/flatbuffers,cogumbreiro/flatbuffers,chenkai036/flatbuffers,iperry/flatbuffers,MiCHiLU/flatbuffers,eburkitt/flatbuffers,jasonstubbs/flatbuffers,rdumusc/flatbuffers,splhack/flatbuffers,jbrads/flatbuffers,jasonstubbs/flatbuffers,RyanTech/flatbuffers,chenkai036/flatbuffers,stewartmiles/flatbuffers,eproxus/flatbuffers,benssson/flatbuffers,kadirahq/flatbuffers,eburkitt/flatbuffers,yaolinz/flatbuffers,KeronTeam/flatbuffers,kiyoto-suzuki/flatbuffers,Volcanoscar/flatbuffers,yaolinz/flatbuffers,kiyoto-suzuki/flatbuffers,1yvT0s/flatbuffers,FrankStain/flatbuffers,DreamHill/flatbuffers,hanhailong/flatbuffers,evanw/flatbuffers,rw/flatbuffers,zhuxiaohao/flatbuffers,DavadDi/flatbuffers,chenkai036/flatbuffers,zhuxiaohao/flatbuffers,chenkai036/flatbuffers,aeneid/flatbuffers,fuchsia-mirror/third_party-flatbuffers,stewartmiles/flatbuffers,chenkai036/flatbuffers,brunoqc/flatbuffers,stewartmiles/flatbuffers,Belxjander/flatbuffers,google/flatbuffers,stewartmiles/flatbuffers,jekinchen/flatjni,jbrads/flatbuffers,jekinchen/flatjni,google/flatbuffers,lulufei/flatbuffers,uus169/flatbuffers,madvay/flatbuffers,robertfsegal/flatbuffers,evolutional/flatbuffers,vanloswang/flatbuffers,Belxjander/flatbuffers,JackLian/flatbuffers,rdumusc/flatbuffers,RyanTech/flatbuffers,onecityuni/flatbuffers,chenkai036/flatbuffers,hanhailong/flatbuffers,fengshao0907/flatbuffers,kadirahq/flatbuffers,endorph-soft/flatbuffers,onecityuni/flatbuffers,chenkai036/flatbuffers,KeronTeam/flatbuffers,google/flatbuffers,stewartmiles/flatbuffers,KeronTeam/flatbuffers,google/flatbuffers,cogumbreiro/flatbuffers,wheelcomplex/flatbuffers,Volcanoscar/flatbuffers,bog-dan-ro/flatbuffers,iperry/flatbuffers,wheelcomplex/flatbuffers,uus169/flatbuffers,hryang/flatbuffers,stewartmiles/flatbuffers,zhuxiaohao/flatbuffers,ThomasBrixLarsen/flatbuffers,alexames/flatbuffers,KeronTeam/flatbuffers,royalharsh/flatbuffers,kiyoto-suzuki/flatbuffers,iperry/flatbuffers,jackyglony/flatbuffers,wheelcomplex/flatbuffers,eproxus/flatbuffers,royalharsh/flatbuffers,BlueBrain/flatbuffers,marschall/flatbuffers,xudeheng/flatbuffers,layzerar/flatbuffers,kiyoto-suzuki/flatbuffers,DreamHill/flatbuffers,kiyoto-suzuki/flatbuffers,alexames/flatbuffers,google/flatbuffers,radent/flatbuffers,RAldrich/flatbuffers,hgl888/flatbuffers,pakoito/flatbuffers,jekinchen/flatjni,mormegil-cz/flatbuffers,guker/flatbuffers,iperry/flatbuffers,stewartmiles/flatbuffers,xudeheng/flatbuffers,SinbadFreedom/FlatBuffer,madvay/flatbuffers,yiliaofan/flatbuffers,ajrulez/flatbuffers,evolutional/flatbuffers,google/flatbuffers,robertfsegal/flatbuffers,alexames/flatbuffers,guker/flatbuffers,BlueBrain/flatbuffers,lulufei/flatbuffers,Volcanoscar/flatbuffers,kusharami/flatbuffers,RyanTech/flatbuffers,onecityuni/flatbuffers,stewartmiles/flatbuffers,wingahi/flatbuffers,felixguendling/flatbuffers,xiaPier/flatbuffers,cogumbreiro/flatbuffers,marschall/flatbuffers,evanw/flatbuffers,MiCHiLU/flatbuffers,stewartmiles/flatbuffers,vanloswang/flatbuffers,kadirahq/flatbuffers,kusharami/flatbuffers,evanw/flatbuffers,FrankStain/flatbuffers,guker/flatbuffers,rw/flatbuffers,tieusangaka/flatbuffers,kiyoto-suzuki/flatbuffers,hryang/flatbuffers,felixguendling/flatbuffers,arbitrary-cat/flatbuffers,xiaPier/flatbuffers,bog-dan-ro/flatbuffers,madvay/flatbuffers,davidnasar/flatbuffers,1yvT0s/flatbuffers,brunoqc/flatbuffers,royalharsh/flatbuffers,Reimerei/flatbuffers,kadirahq/flatbuffers,benssson/flatbuffers,jbrads/flatbuffers,evolutional/flatbuffers,eproxus/flatbuffers,DavadDi/flatbuffers,zhuxiaohao/flatbuffers,RyanTech/flatbuffers,evolutional/flatbuffers,Belxjander/flatbuffers,tieusangaka/flatbuffers,1yvT0s/flatbuffers,KeronTeam/flatbuffers,vanloswang/flatbuffers,alexames/flatbuffers,benssson/flatbuffers,wheelcomplex/flatbuffers,radent/flatbuffers,hryang/flatbuffers,zarianw/flatbuffers,google/flatbuffers,splhack/flatbuffers,yaolinz/flatbuffers,stewartmiles/flatbuffers,chobie/flatbuffers,bog-dan-ro/flatbuffers,hgl888/flatbuffers,hanhailong/flatbuffers,cogumbreiro/flatbuffers,lulufei/flatbuffers,brunoqc/flatbuffers,brunoqc/flatbuffers,madvay/flatbuffers,rdumusc/flatbuffers,jackyglony/flatbuffers,MiCHiLU/flatbuffers,Reimerei/flatbuffers,evolutional/flatbuffers,FrankStain/flatbuffers,fuchsia-mirror/third_party-flatbuffers,marschall/flatbuffers,SinbadFreedom/FlatBuffer,eburkitt/flatbuffers,google/flatbuffers,stewartmiles/flatbuffers,wuyan6293/flatbuffers,EricLagergren/flatbuffers,RAldrich/flatbuffers,dwillmer/flatbuffers,SinbadFreedom/FlatBuffer,i17c/flatbuffers,hryang/flatbuffers,rw/flatbuffers,lulufei/flatbuffers,Reimerei/flatbuffers,EricLagergren/flatbuffers,kiyoto-suzuki/flatbuffers,rw/flatbuffers,i17c/flatbuffers,felixguendling/flatbuffers,hanhailong/flatbuffers,SinbadFreedom/FlatBuffer,benssson/flatbuffers,ThomasBrixLarsen/flatbuffers,evanw/flatbuffers,xudeheng/flatbuffers,hryang/flatbuffers,google/flatbuffers,xiaPier/flatbuffers,JackLian/flatbuffers,RAldrich/flatbuffers,wingahi/flatbuffers,royalharsh/flatbuffers,uus169/flatbuffers,jasonstubbs/flatbuffers,fengshao0907/flatbuffers,zarianw/flatbuffers,zarianw/flatbuffers,vitalyisaev2/flatbuffers,aeneid/flatbuffers,kadirahq/flatbuffers,wheelcomplex/flatbuffers,layzerar/flatbuffers,evanw/flatbuffers,eproxus/flatbuffers,wuyan6293/flatbuffers,arbitrary-cat/flatbuffers,kusharami/flatbuffers,wuyan6293/flatbuffers,rw/flatbuffers,hryang/flatbuffers,aeneid/flatbuffers,FrankStain/flatbuffers,1yvT0s/flatbuffers,ThomasBrixLarsen/flatbuffers,pjulien/flatbuffers,eburkitt/flatbuffers,fengshao0907/flatbuffers,davidnasar/flatbuffers,jekinchen/flatjni,pjulien/flatbuffers,xiaPier/flatbuffers,JackLian/flatbuffers,jasonstubbs/flatbuffers,zhuxiaohao/flatbuffers,fuchsia-mirror/third_party-flatbuffers,chobie/flatbuffers,pakoito/flatbuffers,evanw/flatbuffers,KeronTeam/flatbuffers,benssson/flatbuffers,vitalyisaev2/flatbuffers,EricLagergren/flatbuffers,Belxjander/flatbuffers,BlueBrain/flatbuffers,marschall/flatbuffers,RAldrich/flatbuffers,MiCHiLU/flatbuffers,benssson/flatbuffers,rw/flatbuffers,eburkitt/flatbuffers,evolutional/flatbuffers,rw/flatbuffers,robertfsegal/flatbuffers,wheelcomplex/flatbuffers,EricLagergren/flatbuffers,fuchsia-mirror/third_party-flatbuffers,arbitrary-cat/flatbuffers,guker/flatbuffers,mormegil-cz/flatbuffers,ajrulez/flatbuffers,guker/flatbuffers,pjulien/flatbuffers,alexames/flatbuffers,jekinchen/flatjni,alarouche/flatbuffers,pakoito/flatbuffers,i17c/flatbuffers,madvay/flatbuffers,kadirahq/flatbuffers,DavadDi/flatbuffers,alarouche/flatbuffers,mormegil-cz/flatbuffers,vitalyisaev2/flatbuffers,rw/flatbuffers,rw/flatbuffers,yaolinz/flatbuffers,yiliaofan/flatbuffers,radent/flatbuffers,wuyan6293/flatbuffers,alexames/flatbuffers,zhuxiaohao/flatbuffers,rw/flatbuffers,zarianw/flatbuffers,guker/flatbuffers,pjulien/flatbuffers,eburkitt/flatbuffers,lulufei/flatbuffers,xudeheng/flatbuffers,wheelcomplex/flatbuffers,i17c/flatbuffers,chenkai036/flatbuffers,pakoito/flatbuffers,jackyglony/flatbuffers,aeneid/flatbuffers,mormegil-cz/flatbuffers,radent/flatbuffers,iperry/flatbuffers,alarouche/flatbuffers,royalharsh/flatbuffers,jackyglony/flatbuffers,cogumbreiro/flatbuffers,xudeheng/flatbuffers,rdumusc/flatbuffers,jekinchen/flatjni,jasonstubbs/flatbuffers,EricLagergren/flatbuffers,splhack/flatbuffers,stewartmiles/flatbuffers,cogumbreiro/flatbuffers,RAldrich/flatbuffers,FrankStain/flatbuffers,uus169/flatbuffers,vitalyisaev2/flatbuffers,JackLian/flatbuffers,EricLagergren/flatbuffers,ThomasBrixLarsen/flatbuffers,robertfsegal/flatbuffers,DreamHill/flatbuffers,pjulien/flatbuffers,splhack/flatbuffers,davidnasar/flatbuffers,SinbadFreedom/FlatBuffer,bog-dan-ro/flatbuffers,yiliaofan/flatbuffers,yiliaofan/flatbuffers,vitalyisaev2/flatbuffers,tieusangaka/flatbuffers,alexames/flatbuffers,xiaPier/flatbuffers,MiCHiLU/flatbuffers,splhack/flatbuffers,stewartmiles/flatbuffers,ajrulez/flatbuffers,yiliaofan/flatbuffers,BlueBrain/flatbuffers,ThomasBrixLarsen/flatbuffers,arbitrary-cat/flatbuffers,fuchsia-mirror/third_party-flatbuffers,DreamHill/flatbuffers,RyanTech/flatbuffers,alexames/flatbuffers,jbrads/flatbuffers,endorph-soft/flatbuffers,wuyan6293/flatbuffers,iperry/flatbuffers,jekinchen/flatjni,tieusangaka/flatbuffers,layzerar/flatbuffers,pjulien/flatbuffers,SinbadFreedom/FlatBuffer,evanw/flatbuffers,hgl888/flatbuffers,ajrulez/flatbuffers,evolutional/flatbuffers,dwillmer/flatbuffers,1yvT0s/flatbuffers,dwillmer/flatbuffers,jasonstubbs/flatbuffers,hgl888/flatbuffers,BlueBrain/flatbuffers,RyanTech/flatbuffers,benssson/flatbuffers,pjulien/flatbuffers,wingahi/flatbuffers,eproxus/flatbuffers,kadirahq/flatbuffers,chenkai036/flatbuffers,royalharsh/flatbuffers,uus169/flatbuffers,bog-dan-ro/flatbuffers,jackyglony/flatbuffers,endorph-soft/flatbuffers,bog-dan-ro/flatbuffers,pjulien/flatbuffers,MiCHiLU/flatbuffers,fengshao0907/flatbuffers,jackyglony/flatbuffers,endorph-soft/flatbuffers,davidnasar/flatbuffers,zarianw/flatbuffers,endorph-soft/flatbuffers,zarianw/flatbuffers,pjulien/flatbuffers,felixguendling/flatbuffers,pjulien/flatbuffers,layzerar/flatbuffers,eproxus/flatbuffers,jasonstubbs/flatbuffers,i17c/flatbuffers,hgl888/flatbuffers,alexames/flatbuffers,evolutional/flatbuffers,layzerar/flatbuffers,JackLian/flatbuffers,google/flatbuffers,alarouche/flatbuffers,endorph-soft/flatbuffers,layzerar/flatbuffers,ThomasBrixLarsen/flatbuffers,splhack/flatbuffers,layzerar/flatbuffers,rdumusc/flatbuffers,wingahi/flatbuffers,ajrulez/flatbuffers