Skip to content
Snippets Groups Projects
Commit 4c6df0e6 authored by Dogan Can's avatar Dogan Can
Browse files

sandbox/sail: Resolves the redefinition of default argument error with clang.

Relevant error message:
../fstext/prune-special-inl.h:164:26: error: redefinition of default argument
                  size_t max_states = 0) {
                         ^            ~
../fstext/prune-special.h:52:26: note: previous definition is here
                  size_t max_states =  0);
                         ^             ~

git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/sail@3730 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent f0c3872f
No related branches found
No related tags found
No related merge requests found
......@@ -161,7 +161,7 @@ template<class Arc>
void PruneSpecial(const Fst<Arc> &ifst,
VectorFst<Arc> *ofst,
typename Arc::Weight beam,
size_t max_states = 0) {
size_t max_states) {
PruneSpecialClass<Arc> c(ifst, ofst, beam, max_states);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment