Skip to content

Commit

Permalink
Fix CI failure -- these need to remain in the original order
Browse files Browse the repository at this point in the history
  • Loading branch information
zrax committed Dec 2, 2022
1 parent ffeabc3 commit 2075a4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyc_code.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

#include "pyc_sequence.h"
#include "pyc_string.h"
#include <set>
#include <vector>

class PycCode : public PycObject {
public:
typedef std::set<PycRef<PycString>> globals_t;
typedef std::vector<PycRef<PycString>> globals_t;
enum CodeFlags {
CO_OPTIMIZED = 0x1,
CO_NEWLOCALS = 0x2,
Expand Down Expand Up @@ -77,7 +77,7 @@ class PycCode : public PycObject {

void markGlobal(PycRef<PycString> varname)
{
m_globalsUsed.emplace(std::move(varname));
m_globalsUsed.emplace_back(std::move(varname));
}

private:
Expand Down

0 comments on commit 2075a4a

Please sign in to comment.