mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Cleanups:
* Use Throw instead of directly throwing an exception
This commit is contained in:
@@ -448,7 +448,7 @@ void
|
||||
SerialIter::skip (int length)
|
||||
{
|
||||
if (remain_ < length)
|
||||
throw std::runtime_error(
|
||||
Throw<std::runtime_error> (
|
||||
"invalid SerialIter skip");
|
||||
p_ += length;
|
||||
used_ += length;
|
||||
|
||||
Reference in New Issue
Block a user