File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ map::TracksManager InstanciateFromStreamV0(S& fstream) {
8282 SeparateLineByTabs (line, elems);
8383 if (elems.size () != N_ENTRIES) // process only valid lines
8484 {
85- std::runtime_error (
85+ throw std::runtime_error (
8686 " Encountered invalid line. A line must contain exactly " +
8787 std::to_string (N_ENTRIES) + " values!" );
8888 }
@@ -112,7 +112,7 @@ map::TracksManager InstanciateFromStreamV1(S& fstream) {
112112 SeparateLineByTabs (line, elems);
113113 if (elems.size () != N_ENTRIES) // process only valid lines
114114 {
115- std::runtime_error (
115+ throw std::runtime_error (
116116 " Encountered invalid line. A line must contain exactly " +
117117 std::to_string (N_ENTRIES) + " values!" );
118118 }
@@ -142,7 +142,7 @@ map::TracksManager InstanciateFromStreamV2(S& fstream) {
142142 SeparateLineByTabs (line, elems);
143143 if (elems.size () != N_ENTRIES) // process only valid lines
144144 {
145- std::runtime_error (
145+ throw std::runtime_error (
146146 " Encountered invalid line. A line must contain exactly " +
147147 std::to_string (N_ENTRIES) + " values!" );
148148 }
You can’t perform that action at this time.
0 commit comments