Commit 669bdfe 1 parent 23f92b8 commit 669bdfe Copy full SHA for 669bdfe
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -521,14 +521,14 @@ class ShaderInstance {
521
521
return std::pair<Symbol*,Symbol*> ((Symbol*)NULL , (Symbol*)NULL );
522
522
else
523
523
return std::pair<Symbol*,Symbol*> (&i->m_instsymbols [0 ],
524
- &i->m_instsymbols [i->m_instsymbols .size ()] );
524
+ &i->m_instsymbols [0 ] + i->m_instsymbols .size ());
525
525
}
526
526
friend std::pair<const Symbol *,const Symbol *> sym_range (const ShaderInstance *i) {
527
527
if (i->m_instsymbols .size () == 0 )
528
528
return std::pair<const Symbol*,const Symbol*> ((const Symbol*)NULL , (const Symbol*)NULL );
529
529
else
530
530
return std::pair<const Symbol*,const Symbol*> (&i->m_instsymbols [0 ],
531
- &i->m_instsymbols [i->m_instsymbols .size ()] );
531
+ &i->m_instsymbols [0 ] + i->m_instsymbols .size ());
532
532
}
533
533
534
534
int Psym () const { return m_Psym; }
You can’t perform that action at this time.
0 commit comments