fix warning

This commit is contained in:
Maxime Coste 2013-02-28 18:51:24 +01:00
parent 849f225e70
commit 161e32e137

View File

@ -184,7 +184,7 @@ struct Buffer::Modification
Modification inverse() const Modification inverse() const
{ {
Type inverse_type; Type inverse_type = Insert;
switch (type) switch (type)
{ {
case Insert: inverse_type = Erase; break; case Insert: inverse_type = Erase; break;