Skip to content

Commit

Permalink
Make Ubuntu Focal build work
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Aug 7, 2022
1 parent b95604e commit 601936b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/engineeffectsdelay_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

#include <QTest>
#include <QtDebug>
#include <span>

#include "engine/engine.h"
#include "test/mixxxtest.h"
#include "util/sample.h"
#include "util/samplebuffer.h"
#include "util/span.h"
#include "util/types.h"

namespace {
Expand Down
1 change: 0 additions & 1 deletion src/util/samplebuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@


#include <algorithm> // std::swap
#include <span>

#include "util/span.h"
#include "util/types.h"
Expand Down
8 changes: 8 additions & 0 deletions src/util/span.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
#pragma once

#if __has_include(<span>)
#include <span>
#else
#include <gsl/span>
namespace std {
using gsl::span;
} // namespace std
#endif

#include <type_traits>

#include "util/assert.h"
Expand Down

0 comments on commit 601936b

Please sign in to comment.