confused about ObservableCollection
Posted: 09 Apr 2018, 12:55
Hi,
I want to parse a string to an array, for some reason I need to use ObaservableCollection<NsString>,
but I got an error
Error C2555 'Noesis::ObservableCollection<NsString>::Get': overriding virtual function return type differs and is not covariant from 'Noesis::Collection::Get'
I find that the IList::Get(uint32_t InIndex) return a BaseComponent* , but NsStrin is not a BaseComponet, some advices?
I want to parse a string to an array, for some reason I need to use ObaservableCollection<NsString>,
but I got an error
Error C2555 'Noesis::ObservableCollection<NsString>::Get': overriding virtual function return type differs and is not covariant from 'Noesis::Collection::Get'
I find that the IList::Get(uint32_t InIndex) return a BaseComponent* , but NsStrin is not a BaseComponet, some advices?