Replaced throw() with noexcept and removed some unneeded ';'.