diff --git a/2022/14.cpp b/2022/14.cpp index 8cdea52..77f63bd 100644 --- a/2022/14.cpp +++ b/2022/14.cpp @@ -79,7 +79,7 @@ auto ExpandLines(Input const& lines) -> std::set result.insert({x, a.y}); } } else { - throw new std::runtime_error{"Bad line segment"}; + throw std::runtime_error{"Bad line segment"}; } } }