Small changes to eliminate compiler warnings for 'nite' in issue 83

This commit is contained in:
Jesse Beder
2011-03-02 05:29:46 +00:00
parent 2faeb76e2d
commit 4caedfda74
3 changed files with 5 additions and 1 deletions

View File

@@ -271,6 +271,7 @@ namespace YAML
case IndentMarker::NONE: assert(false); break;
}
assert(false);
throw std::runtime_error("yaml-cpp: internal error, invalid indent type");
}
// PushIndentTo