diff options
author | Phil Williams <philip.williams@mac.com> | 2014-10-10 17:22:53 +0400 |
---|---|---|
committer | Phil Williams <philip.williams@mac.com> | 2014-10-10 17:22:53 +0400 |
commit | ee57e59f2bdd43982431133946c8af67085bd6c6 (patch) | |
tree | afd7cedd670f5dfcf4a4ef7b6c855ca50b6acf28 /search | |
parent | 19242df82b09ace7d716b15dc9d4b00fa137902d (diff) |
Fix a few compiler warnings (from Clang mostly).
Diffstat (limited to 'search')
-rw-r--r-- | search/edge_generator.hh | 2 | ||||
-rw-r--r-- | search/types.hh | 2 | ||||
-rw-r--r-- | search/vertex_generator.hh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/search/edge_generator.hh b/search/edge_generator.hh index 203942c6f..048f9f9ac 100644 --- a/search/edge_generator.hh +++ b/search/edge_generator.hh @@ -8,7 +8,7 @@ namespace lm { namespace ngram { -class ChartState; +struct ChartState; } // namespace ngram } // namespace lm diff --git a/search/types.hh b/search/types.hh index f9c849b3f..832ef159f 100644 --- a/search/types.hh +++ b/search/types.hh @@ -3,7 +3,7 @@ #include <stdint.h> -namespace lm { namespace ngram { class ChartState; } } +namespace lm { namespace ngram { struct ChartState; } } namespace search { diff --git a/search/vertex_generator.hh b/search/vertex_generator.hh index 6fce508d6..328da7933 100644 --- a/search/vertex_generator.hh +++ b/search/vertex_generator.hh @@ -7,7 +7,7 @@ namespace lm { namespace ngram { -class ChartState; +struct ChartState; } // namespace ngram } // namespace lm |