diff options
Diffstat (limited to '099hardware_checks.cc')
-rw-r--r-- | 099hardware_checks.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/099hardware_checks.cc b/099hardware_checks.cc index a3dd6de5..42ad271f 100644 --- a/099hardware_checks.cc +++ b/099hardware_checks.cc @@ -48,7 +48,7 @@ void check_for_misuse_of_real_hardware(const recipe_ordinal r) { const reagent& expected_ing = callee.ingredients.at(i); for (int j = 0; j < SIZE(Real_hardware_types); ++j) { if (*Real_hardware_types.at(j) == *expected_ing.type) - raise << maybe(caller.name) << "'" << inst.original_string << "': only 'main' can pass 0 into a " << to_string(expected_ing.type) << '\n' << end(); + raise << maybe(caller.name) << "'" << to_original_string(inst) << "': only 'main' can pass 0 into a " << to_string(expected_ing.type) << '\n' << end(); } } } |