Skip to content

Commit

Permalink
Remove unneeded include statements
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Feb 28, 2022
1 parent 32e452f commit 59b4b1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
6 changes: 0 additions & 6 deletions src/lstm/recodebeam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
#include "unicharcompress.h"

#include <algorithm> // for std::reverse
#include <deque>
#include <map>
#include <set>
#include <tuple>
#include <unordered_set>
#include <vector>

namespace tesseract {

Expand Down
7 changes: 2 additions & 5 deletions src/lstm/recodebeam.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@
#include "ratngs.h"
#include "unicharcompress.h"

#include <deque>
#include <set>
#include <tuple>
#include <unordered_set>
#include <vector>
#include <unordered_set> // for std::unordered_set
#include <vector> // for std::vector

namespace tesseract {

Expand Down

3 comments on commit 59b4b1e

@amitdo
Copy link
Collaborator

@amitdo amitdo commented on 59b4b1e Mar 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#include <utility> // for std::pair is missing here.

@stweil
Copy link
Member Author

@stweil stweil commented on 59b4b1e Mar 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then we should add it, even if the current builds seem to work (I did not notice a broken one).

@amitdo
Copy link
Collaborator

@amitdo amitdo commented on 59b4b1e Mar 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.