Skip to content

Commit 162aa58

Browse files
committed
Fix broken Mac OS X build.
1 parent 2d35fd4 commit 162aa58

File tree

11 files changed

+6
-23
lines changed

11 files changed

+6
-23
lines changed

source/backend/control/scene.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
// C++ standard header files
4343
#include <algorithm>
4444
#include <sstream>
45-
#include <thread>
4645

4746
// Boost header files
4847
#include <boost/bind.hpp>

source/backend/control/scene.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@
4545

4646
// C++ standard header files
4747
#include <memory>
48-
// <thread> not required for `std::thread` because we forward-declare it in `base/base_fwd.h`
48+
#include <thread>
4949
#include <vector>
5050

5151
// POV-Ray header files (base module)
52-
#include "base/base_fwd.h"
52+
// (none at the moment)
5353

5454
// POV-Ray header files (core module)
5555
#include "core/core_fwd.h"

source/backend/povray.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141

4242
// C++ standard header files
4343
#include <string>
44-
#include <thread>
4544

4645
// Boost header files
4746
#include <boost/bind.hpp>

source/backend/povray.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,12 @@
4949
// (none at the moment)
5050

5151
// C++ standard header files
52-
// <thread> not required for `std::thread` because we forward-declare it in `base/base_fwd.h`
52+
#include <thread>
5353

5454
// Boost header files
5555
#include <boost/function.hpp>
5656

5757
// POV-Ray header files (base module)
58-
#include "base/base_fwd.h"
5958
#include "base/version_info.h"
6059

6160
// POV-Ray header files (backend module)

source/backend/scene/view.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
// C++ standard header files
4343
#include <algorithm>
4444
#include <chrono>
45-
#include <thread>
4645

4746
// Boost header files
4847
#include <boost/bind.hpp>

source/backend/scene/view.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,10 @@
4747
#include <condition_variable>
4848
#include <memory>
4949
#include <mutex>
50-
// <thread> not required for `std::thread` because we forward-declare it in `base/base_fwd.h`
50+
#include <thread>
5151
#include <vector>
5252

5353
// POV-Ray header files (base module)
54-
#include "base/base_fwd.h"
5554
#include "base/types.h" // TODO - only appears to be pulled in for POVRect - can we avoid this?
5655

5756
// POV-Ray header files (core module)

source/backend/support/task.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141

4242
// C++ standard header files
4343
#include <stdexcept>
44-
#include <thread>
4544

4645
// Boost header files
4746
#include <boost/bind.hpp>

source/backend/support/task.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
// C++ standard header files
4646
#include <memory>
4747
#include <queue>
48-
// <thread> not required for `std::thread` because we forward-declare it in `base/base_fwd.h`
48+
#include <thread>
4949

5050
// Boost header files
5151
#include <boost/function.hpp>

source/base/base_fwd.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,6 @@
4040
/// @note
4141
/// This file should not pull in any POV-Ray header whatsoever.
4242

43-
// Forward-declare the standard library's thread type, rather than pulling in
44-
// `<thread>`, and all the other headers it might want in turn.
45-
namespace std
46-
{
47-
class thread;
48-
}
49-
// end of namespace std
50-
5143
namespace pov_base
5244
{
5345

vfe/vfesession.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242

4343
#include "vfe.h"
4444

45-
#include <thread>
46-
4745
#include <boost/bind.hpp>
4846

4947
#include "backend/povray.h"

0 commit comments

Comments
 (0)