Skip to content

Commit

Permalink
Removed thread.h file (#250)
Browse files Browse the repository at this point in the history
* removed thread file

* add missing includes

* use memory from pch.h

Co-authored-by: Nekiro <[email protected]>
  • Loading branch information
mehah and nekiro authored Apr 5, 2022
1 parent c4433f3 commit c1d75b3
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 71 deletions.
2 changes: 1 addition & 1 deletion src/framework/core/asyncdispatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define ASYNCDISPATCHER_H

#include <future>
#include <framework/stdext/thread.h>
#include <list>

class AsyncDispatcher
{
Expand Down
2 changes: 1 addition & 1 deletion src/framework/core/logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "../global.h"

#include <fstream>
#include <framework/stdext/thread.h>
#include <mutex>

struct LogMessage
{
Expand Down
1 change: 0 additions & 1 deletion src/framework/graphics/apngloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <memory>
#include <sstream>

#include <zlib.h>
Expand Down
1 change: 1 addition & 0 deletions src/framework/graphics/texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "framebuffer.h"
#include "graphics.h"
#include "image.h"
#include <atomic>

#include <framework/core/application.h>

Expand Down
2 changes: 0 additions & 2 deletions src/framework/luaengine/declarations.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@

#include <framework/global.h>

#include <memory>

class LuaInterface;
class LuaObject;

Expand Down
1 change: 0 additions & 1 deletion src/framework/net/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <framework/core/application.h>
#include <framework/core/eventdispatcher.h>

#include <memory>
#include <utility>
#include <boost/asio.hpp>

Expand Down
1 change: 1 addition & 0 deletions src/framework/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@
#include <typeinfo>
#include <unordered_map>
#include <vector>
#include <memory>

#endif
55 changes: 0 additions & 55 deletions src/framework/stdext/thread.h

This file was deleted.

1 change: 1 addition & 0 deletions src/framework/util/crypt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <framework/platform/platform.h>
#include <framework/stdext/math.h>

#include <boost/functional/hash.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/uuid/uuid_io.hpp>

Expand Down
1 change: 0 additions & 1 deletion vc17/otclient.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,6 @@ git rev-list --count head &gt;&gt; ../src/gitinfo.h
<ClInclude Include="..\src\framework\stdext\shared_ptr.h" />
<ClInclude Include="..\src\framework\stdext\stdext.h" />
<ClInclude Include="..\src\framework\stdext\string.h" />
<ClInclude Include="..\src\framework\stdext\thread.h" />
<ClInclude Include="..\src\framework\stdext\time.h" />
<ClInclude Include="..\src\framework\stdext\traits.h" />
<ClInclude Include="..\src\framework\stdext\types.h" />
Expand Down
9 changes: 0 additions & 9 deletions vc17/otclient.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -809,9 +809,6 @@
<ClInclude Include="..\src\framework\sound\streamsoundsource.h">
<Filter>Header Files\framework\sound</Filter>
</ClInclude>
<ClInclude Include="..\src\framework\stdext\any.h">
<Filter>Header Files\framework\stdext</Filter>
</ClInclude>
<ClInclude Include="..\src\framework\stdext\cast.h">
<Filter>Header Files\framework\stdext</Filter>
</ClInclude>
Expand All @@ -824,9 +821,6 @@
<ClInclude Include="..\src\framework\stdext\dumper.h">
<Filter>Header Files\framework\stdext</Filter>
</ClInclude>
<ClInclude Include="..\src\framework\stdext\dynamic_storage.h">
<Filter>Header Files\framework\stdext</Filter>
</ClInclude>
<ClInclude Include="..\src\framework\stdext\exception.h">
<Filter>Header Files\framework\stdext</Filter>
</ClInclude>
Expand Down Expand Up @@ -857,9 +851,6 @@
<ClInclude Include="..\src\framework\stdext\string.h">
<Filter>Header Files\framework\stdext</Filter>
</ClInclude>
<ClInclude Include="..\src\framework\stdext\thread.h">
<Filter>Header Files\framework\stdext</Filter>
</ClInclude>
<ClInclude Include="..\src\framework\stdext\time.h">
<Filter>Header Files\framework\stdext</Filter>
</ClInclude>
Expand Down

0 comments on commit c1d75b3

Please sign in to comment.