Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Capital-Asterisk committed Aug 28, 2023
1 parent 1025ae8 commit 8a0960c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
1 change: 1 addition & 0 deletions src/osp/tasks/builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <iterator>
#include <longeron/containers/bit_view.hpp>

#include <array>
#include <cassert>
#include <cstdint>
#include <vector>
Expand Down
4 changes: 2 additions & 2 deletions src/osp/tasks/tasks.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
#define OSP_DECLARE_STAGE_NAMES(type, ...) \
inline osp::ArrayView<std::string_view const> stage_names([[maybe_unused]] type _) noexcept \
{ \
static auto const arr = std::array<std::string_view const, std::size({__VA_ARGS__})>{__VA_ARGS__}; \
return osp::arrayView( arr.data(), arr.size() ); \
static auto const arr = std::initializer_list<std::string_view>{__VA_ARGS__}; \
return osp::arrayView(arr); \
}

#define OSP_DECLARE_STAGE_SCHEDULE(type, schedule_enum) \
Expand Down
4 changes: 0 additions & 4 deletions src/osp/tasks/top_execute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

#include <algorithm>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <vector>

Expand Down Expand Up @@ -110,8 +109,6 @@ std::ostream& operator<<(std::ostream& rStream, TopExecWriteState const& write)
{
ExecPipeline const &plExec = exec.plData[pipeline];

std::cout << "pipeline: " << int(pipeline) << "\n";

for (int i = 0; i < depth; ++i)
{
rStream << "- ";
Expand Down Expand Up @@ -164,7 +161,6 @@ std::ostream& operator<<(std::ostream& rStream, TopExecWriteState const& write)
{
rStream << ' ';
}
std::cout << "AAAA" << info.name;

rStream << " | " << (info.name.empty() ? "untitled or deleted" : info.name);

Expand Down
7 changes: 1 addition & 6 deletions src/test_application/MagnumApplication.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,10 @@ class IOspApplication
*
* This is intended to run a flight scene, map view, vehicle editor, or menu.
*/
class MagnumApplication : Magnum::Platform::Application
class MagnumApplication : public Magnum::Platform::Application
{

public:

using Magnum::Platform::Application::KeyEvent;
using Magnum::Platform::Application::MouseEvent;
using Magnum::Platform::Application::Arguments;

using AppPtr_t = std::unique_ptr<IOspApplication>;

explicit MagnumApplication(
Expand Down

0 comments on commit 8a0960c

Please sign in to comment.