mirror of
https://github.com/browsermt/bergamot-translator.git
synced 2024-09-11 05:35:33 +03:00
Remove dead code (#107)
Co-authored-by: Kenneth Heafield <kpu@users.noreply.github.com>
This commit is contained in:
parent
1184875cc9
commit
fc6976ae29
@ -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
|
||||
|
@ -1,7 +0,0 @@
|
||||
#include "multifactor_priority.h"
|
||||
|
||||
namespace marian {
|
||||
namespace bergamot {
|
||||
|
||||
} // namespace bergamot
|
||||
} // namespace marian
|
@ -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_
|
Loading…
Reference in New Issue
Block a user