Skip to content

Commit

Permalink
fix cpp style
Browse files Browse the repository at this point in the history
  • Loading branch information
pkufool committed Jan 11, 2024
1 parent dc68be6 commit c02284c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sherpa-onnx/csrc/context-graph.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#define SHERPA_ONNX_CSRC_CONTEXT_GRAPH_H_

#include <memory>
#include <string>
#include <tuple>
#include <unordered_map>
#include <utility>
#include <vector>
Expand Down
4 changes: 3 additions & 1 deletion sherpa-onnx/csrc/transducer-keywords-decoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#ifndef SHERPA_ONNX_CSRC_TRANSDUCER_KEYWORDS_DECODER_H_
#define SHERPA_ONNX_CSRC_TRANSDUCER_KEYWORDS_DECODER_H_

#include <string>
#include <utility>
#include <vector>

#include "sherpa-onnx/csrc/online-stream.h"
Expand Down Expand Up @@ -35,7 +37,7 @@ struct TransducerKeywordsResult {

TransducerKeywordsResult(const TransducerKeywordsResult &other) {
*this = other;
};
}

TransducerKeywordsResult &operator=(const TransducerKeywordsResult &other) {
if (this == &other) {
Expand Down

0 comments on commit c02284c

Please sign in to comment.