about summary refs log tree commit diff stats
path: root/021check_instruction.cc
diff options
context:
space:
mode:
Diffstat (limited to '021check_instruction.cc')
-rw-r--r--021check_instruction.cc5
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) {