mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 06:33:42 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -23,10 +23,9 @@ struct TokenFrequencyPair
|
||||
TokenFrequencyPair() = default;
|
||||
|
||||
template <typename Token>
|
||||
TokenFrequencyPair(Token && token, uint64_t frequency)
|
||||
: m_token(std::forward<Token>(token)), m_frequency(frequency)
|
||||
{
|
||||
}
|
||||
TokenFrequencyPair(Token && token, uint64_t frequency) : m_token(std::forward<Token>(token))
|
||||
, m_frequency(frequency)
|
||||
{}
|
||||
|
||||
bool operator<(TokenFrequencyPair const & rhs) const;
|
||||
|
||||
@@ -72,10 +71,7 @@ public:
|
||||
bool Empty() const { return m_tfs.empty(); }
|
||||
|
||||
private:
|
||||
friend std::string DebugPrint(DocVec const & dv)
|
||||
{
|
||||
return "DocVec " + ::DebugPrint(dv.m_tfs);
|
||||
}
|
||||
friend std::string DebugPrint(DocVec const & dv) { return "DocVec " + ::DebugPrint(dv.m_tfs); }
|
||||
|
||||
std::vector<TokenFrequencyPair> m_tfs;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user