Skip to content

Commit ef3f4c9

Browse files
committed
Fixed compilation on ubuntu kinetic
1 parent 0552810 commit ef3f4c9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/common/model/source_file.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ std::string to_string(source_file_t sf)
3131
return "implementation";
3232
default:
3333
assert(false);
34+
return "";
3435
}
3536
}
3637

src/common/model/template_parameter.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ std::string to_string(template_parameter_kind_t k)
3737
case template_parameter_kind_t::concept_constraint:
3838
return "concept_constraint";
3939
default:
40-
assert(0);
40+
assert(false);
41+
return "";
4142
}
4243
}
4344

0 commit comments

Comments
 (0)