diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-10-05 18:25:52 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-10-05 18:25:52 -0700 |
commit | c3deac87c6bb8c9ab87049cf50eafc94b32a7e1f (patch) | |
tree | 38b46c4b2a23d2e2596f4f33bc434476f4ae4fcd | |
parent | d4cb1a51dbc25e0240c2ccb2da54e30db5acae28 (diff) | |
download | mu-c3deac87c6bb8c9ab87049cf50eafc94b32a7e1f.tar.gz |
2245
-rw-r--r-- | 021check_instruction.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/021check_instruction.cc b/021check_instruction.cc index 2fd93f7b..bf238020 100644 --- a/021check_instruction.cc +++ b/021check_instruction.cc @@ -88,10 +88,7 @@ bool types_match(reagent lhs, reagent rhs) { } bool is_raw(const reagent& r) { - for (long long int i = /*skip value+type*/1; i < SIZE(r.properties); ++i) { - if (r.properties.at(i).first == "raw") return true; - } - return false; + return has_property(r, "raw"); } bool is_mu_array(reagent r) { |