diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2017-03-03 05:28:13 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2017-03-03 05:28:13 +0300 |
commit | b95f091d18a99a3b6c6a718d0544bc2c539c5f37 (patch) | |
tree | 92c039c5c9262302d572d81158765a44e0a8f38e /moses | |
parent | ade04eb2d8478b7f7bc36dbc9279680642dfd74f (diff) |
compiles without xmlrpc-c
Diffstat (limited to 'moses')
-rw-r--r-- | moses/parameters/OptionsBaseClass.cpp | 2 | ||||
-rw-r--r-- | moses/parameters/ReportingOptions.cpp | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/moses/parameters/OptionsBaseClass.cpp b/moses/parameters/OptionsBaseClass.cpp index 2b919b1fc..324359e93 100644 --- a/moses/parameters/OptionsBaseClass.cpp +++ b/moses/parameters/OptionsBaseClass.cpp @@ -26,8 +26,8 @@ namespace Moses { } #else bool - OptionsBaseClass:: check(std::map<std::string, xmlrpc_c::value> const& param, + std::string const key, bool dfltval) {} #endif } diff --git a/moses/parameters/ReportingOptions.cpp b/moses/parameters/ReportingOptions.cpp index 4cd55d073..fe56a7356 100644 --- a/moses/parameters/ReportingOptions.cpp +++ b/moses/parameters/ReportingOptions.cpp @@ -153,10 +153,5 @@ namespace Moses { return true; } -#else - bool - ReportingOptions:: - update(std::map<std::string, xmlrpc_c::value>const& param) - {} #endif } |