mirror of
https://github.com/Syping/dtranslatebot.git
synced 2025-09-09 02:12:08 +02:00
fix DPP 10.1.0 or newer build errors
This commit is contained in:
parent
13d384b14e
commit
b2da36e576
8 changed files with 16 additions and 8 deletions
|
@ -20,6 +20,7 @@
|
|||
#define TRANSLATOR_MOZHI_H
|
||||
|
||||
#include <cstdint>
|
||||
#include <dpp/cluster.h>
|
||||
#include "../../core/translator.h"
|
||||
|
||||
namespace bot {
|
||||
|
@ -33,6 +34,7 @@ namespace bot {
|
|||
const std::string translate(const std::string &text, const std::string &source, const std::string &target) override;
|
||||
|
||||
private:
|
||||
dpp::cluster m_cluster;
|
||||
std::string m_engine;
|
||||
std::string m_hostname;
|
||||
supported_languages m_languages;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue