Fix clang complaining about control reaching end of non-void function

This commit is contained in:
Paul Romano 2018-09-12 22:39:27 -05:00
parent 74b7e53bbb
commit ce04299f30
10 changed files with 49 additions and 24 deletions

View file

@ -389,6 +389,7 @@ distribcell_path_inner(int32_t target_cell, int32_t map, int32_t target_offset,
return path.str();
}
}
throw std::runtime_error{"Error determining distribcell path."};
}
}