From d2174b01d6dba2df7630215280287fe8e23f80b6 Mon Sep 17 00:00:00 2001 From: Ko van der Sloot Date: Mon, 18 Nov 2024 11:21:52 +0100 Subject: [PATCH] numb changes --- include/frog/FrogAPI.h | 2 +- include/frog/ckyparser.h | 2 +- include/frog/mblem_mod.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/frog/FrogAPI.h b/include/frog/FrogAPI.h index 29a3e05..fab4bd8 100644 --- a/include/frog/FrogAPI.h +++ b/include/frog/FrogAPI.h @@ -170,7 +170,7 @@ maximum of 500 words PER SENTENC. Which is already a lot! std::string command; ///< the original command that invoked Frog private: - FrogOptions( const FrogOptions & ); + FrogOptions( const FrogOptions & ) = delete; }; /// \brief This is the API class which can be used to set up Frog and run it diff --git a/include/frog/ckyparser.h b/include/frog/ckyparser.h index bbbe778..a27be51 100644 --- a/include/frog/ckyparser.h +++ b/include/frog/ckyparser.h @@ -44,7 +44,7 @@ enum dirType { ROOT, LEFT, RIGHT, ERROR }; class Constraint { public: enum ConstraintType { Incoming, Dependency, Direction }; - Constraint( double w, int i ): weight(w),tokenIndex(i){ + Constraint( double w, int i ): weight(w),tokenIndex(i){ }; virtual ~Constraint(){}; virtual void put( std::ostream& os ) const { diff --git a/include/frog/mblem_mod.h b/include/frog/mblem_mod.h index 59f3cea..b5a9932 100644 --- a/include/frog/mblem_mod.h +++ b/include/frog/mblem_mod.h @@ -68,8 +68,6 @@ class Mblem { void makeUnique(); void add_lemmas( const std::vector&, const frog_data& ) const; - Mblem( const Mblem& ) = delete; - Mblem& operator=( const Mblem& ) = delete; private: icu::UnicodeString call_server( const icu::UnicodeString& ); void read_transtable( const std::string& ); @@ -96,6 +94,8 @@ class Mblem { TiCC::LogStream *errLog; TiCC::LogStream *dbgLog; TiCC::UniFilter *filter; + Mblem( const Mblem& ) = delete; + Mblem& operator=( const Mblem& ) = delete; }; #endif