From 2075a4ac1fb7dafb2fd17a80145e8b6900f21bf1 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Fri, 2 Dec 2022 14:16:18 -0800 Subject: [PATCH] Fix CI failure -- these need to remain in the original order --- pyc_code.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyc_code.h b/pyc_code.h index 588d23b3..7aa602cb 100644 --- a/pyc_code.h +++ b/pyc_code.h @@ -3,11 +3,11 @@ #include "pyc_sequence.h" #include "pyc_string.h" -#include +#include class PycCode : public PycObject { public: - typedef std::set> globals_t; + typedef std::vector> globals_t; enum CodeFlags { CO_OPTIMIZED = 0x1, CO_NEWLOCALS = 0x2, @@ -77,7 +77,7 @@ class PycCode : public PycObject { void markGlobal(PycRef varname) { - m_globalsUsed.emplace(std::move(varname)); + m_globalsUsed.emplace_back(std::move(varname)); } private: