Skip to content

Commit

Permalink
Using map instead of unordered_map to ensure reproducibility of kore …
Browse files Browse the repository at this point in the history
…definition generation
  • Loading branch information
Robertorosmaninho committed May 15, 2024
1 parent 5b5affe commit 349ca59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/kllvm/ast/attribute_set.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <memory>
#include <optional>
#include <string>
#include <unordered_map>
#include <map>

namespace kllvm {

Expand All @@ -29,7 +29,7 @@ class kore_composite_pattern;
*/
class attribute_set {
public:
using storage_t = std::unordered_map<
using storage_t = std::map<
std::string, std::shared_ptr<kore_composite_pattern>>;

enum class key {
Expand Down

0 comments on commit 349ca59

Please sign in to comment.