Commit 3e321fdc authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed missing throw keyword in pystreambuf.h

parent ab5db7a4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -412,7 +412,7 @@ class streambuf : public std::basic_streambuf<char>
        upper_bound = reinterpret_cast<std::streamsize>(farthest_pptr) + 1;
      }
      else {
           std::runtime_error(
           throw std::runtime_error(
             "Control flow passes through branch that should be unreachable.");
      }

@@ -428,7 +428,7 @@ class streambuf : public std::basic_streambuf<char>
        return false;
      }
      else {
           std::runtime_error(
           throw std::runtime_error(
             "Control flow passes through branch that should be unreachable.");
      }