Fixed compilation on ubuntu kinetic

This commit is contained in:
Bartek Kryza
2023-03-26 17:56:27 +02:00
parent 0552810ddb
commit ef3f4c9759
2 changed files with 3 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ std::string to_string(source_file_t sf)
return "implementation"; return "implementation";
default: default:
assert(false); assert(false);
return "";
} }
} }

View File

@@ -37,7 +37,8 @@ std::string to_string(template_parameter_kind_t k)
case template_parameter_kind_t::concept_constraint: case template_parameter_kind_t::concept_constraint:
return "concept_constraint"; return "concept_constraint";
default: default:
assert(0); assert(false);
return "";
} }
} }