Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubpa committed Sep 22, 2020
1 parent c9d5c94 commit 2a0f3cf
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/UECS/Schedule.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#include "detail/SystemFunc.h"
#include "detail/SysFuncGraph.h"
#include "detail/Job.h"

#include <UContainer/Pool.h>
Expand All @@ -15,6 +14,7 @@ namespace Ubpa::UECS::detail {
namespace Ubpa::UECS {
class EntityMngr;
class SystemMngr;
class SysFuncGraph;

// [description]
// system infomation record
Expand Down
2 changes: 1 addition & 1 deletion src/core/Schedule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <UContainer/Algorithm.h>

#include <UECS/World.h>
#include "SysFuncGraph.h"

using namespace Ubpa::UECS;
using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion src/core/SysFuncGraph.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <UECS/detail/SysFuncGraph.h>
#include "SysFuncGraph.h"

#include <unordered_set>
#include <queue>
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions src/core/World.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#include <UECS/IListener.h>

#include "SysFuncGraph.h"

using namespace Ubpa::UECS;
using namespace Ubpa;
using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion src/test/14_serialize/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class Dumper : public IListener {
cout << "{" << endl;
indent++;
PrintIndent();
cout << "\"type\" : \"" << w->entityMngr.cmptTraits.Nameof(cmpt->Type()) << "\"";
cout << "\"type\" : \"" << w->entityMngr.cmptTraits.Nameof(cmpt.Type()) << "\"";
if (cmpt.Type().Is<Velocity>()) {
auto v = cmpt.As<Velocity>();
cout << "," << endl;
Expand Down

0 comments on commit 2a0f3cf

Please sign in to comment.