Remove dead code (#107)

Co-authored-by: Kenneth Heafield <kpu@users.noreply.github.com>
This commit is contained in:
Nikolay Bogoychev 2021-04-22 17:29:22 +01:00 committed by GitHub
parent 1184875cc9
commit fc6976ae29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 28 deletions

View File

@ -4,7 +4,6 @@ add_library(bergamot-translator STATIC
text_processor.cpp
sentence_splitter.cpp
batch_translator.cpp
multifactor_priority.cpp
request.cpp
batcher.cpp
response.cpp

View File

@ -1,7 +0,0 @@
#include "multifactor_priority.h"
namespace marian {
namespace bergamot {
} // namespace bergamot
} // namespace marian

View File

@ -1,20 +0,0 @@
#ifndef SRC_BERGAMOT_MULTIFACTOR_PRIORITY_H_
#define SRC_BERGAMOT_MULTIFACTOR_PRIORITY_H_
#include "data/types.h"
#include "definitions.h"
#include "sys/time.h"
namespace marian {
namespace bergamot {
struct MultiFactorPriority {
int nice; /* user configurable priority, at a request */
unsigned int Id;
/* What else should priority depend on? */
double priority() { return Id; }
};
} // namespace bergamot
} // namespace marian
#endif // SRC_BERGAMOT_MULTIFACTOR_PRIORITY_H_