Added more warnings and removed an unused class.
[jmdict-cli.git] / jmdict.cpp
index 2d761100f77eccad2335aef12d0eefbc20aae707..5d6818311ce39b3d39648837cfc9ef99029aa802 100644 (file)
@@ -51,10 +51,6 @@ namespace options {
     bool beginning = false;
     bool ci_search = false;
 
-    class invalid_option : public std::runtime_error {
-           invalid_option(const string& s) : std::runtime_error(s) {}
-    };
-
     void getFrom(int argc, char** argv) {
         int opt;
         while ((opt = getopt(argc, argv, "bfijJl:")) != -1)