Return first frame in FramesData on OOB access (#4830)

This commit is contained in:
Flössie
2019-02-20 20:55:07 +01:00
parent b37f545391
commit e39726dbf7
6 changed files with 191 additions and 55 deletions

View File

@@ -488,8 +488,8 @@ template<typename T = std::uint32_t>
class ChoiceInterpreter : public Interpreter
{
protected:
using Choices = std::map<T, std::string>;
using ChoicesIterator = typename Choices::const_iterator;
using Choices = std::map<T, std::string>;
using ChoicesIterator = typename Choices::const_iterator;
Choices choices;
public:
ChoiceInterpreter () {};