Skip to content

Commit 0e0050a

Browse files
[ci] fix: github ci package update + compiler warning
1 parent 2326040 commit 0e0050a

File tree

17 files changed

+25
-23
lines changed

17 files changed

+25
-23
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ jobs:
4848
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
4949
5050
- name: Install Dependencies
51-
run: sudo apt-get install -y libgtk-4-dev libogg-dev libvorbis-dev libflac-dev libfftw3-dev libpulse-dev libasound-dev libgl-dev libunwind-dev portaudio19-dev #libpipewire-0.3-dev libspa-0.2-dev
51+
run: |
52+
sudo apt-get update
53+
sudo apt-get install -y libgtk-4-dev libogg-dev libvorbis-dev libflac-dev libfftw3-dev libpulse-dev libasound-dev libgl-dev libunwind-dev portaudio19-dev #libpipewire-0.3-dev libspa-0.2-dev
5254
5355
- name: Configure CMake
5456
run: >

src/data/Range.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#include "../lib/base/base.h"
1212

13-
class string;
13+
struct string;
1414

1515
namespace tsunami {
1616

src/device/backend-pulseaudio/DeviceContextPulse.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#include "../interface/DeviceContext.h"
1111

12-
class string;
12+
struct string;
1313

1414
struct pa_context;
1515
struct pa_threaded_mainloop;

src/plugins/ExtendedAudioBuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#define SRC_PLUGINS_EXTENDEDAUDIOBUFFER_H_
1010

1111
#include "../data/audio/AudioBuffer.h"
12-
class complex;
12+
struct complex;
1313

1414
namespace tsunami {
1515

src/processing/audio/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
#include "../../lib/base/base.h"
13-
class complex;
13+
struct complex;
1414

1515
float sum(const Array<float> &a);
1616
float xmax(const Array<float> &a);

src/view/MouseDelayPlanner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <functional>
1313

1414
class Painter;
15-
class vec2;
15+
struct vec2;
1616

1717
namespace scenegraph {
1818
class SceneGraph;

src/view/audioview/graph/Cursor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "../../helper/graph/Node.h"
1212
#include "../../../data/Range.h"
1313

14-
class color;
14+
struct color;
1515

1616
namespace tsunami {
1717

src/view/helper/Drawing.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
#pragma once
99

1010
class Painter;
11-
class rect;
12-
class vec2;
13-
class string;
14-
class color;
11+
struct rect;
12+
struct vec2;
13+
struct string;
14+
struct color;
1515

1616
color color_heat_map(float f);
1717

src/view/helper/PeakDatabase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "../../data/audio/AudioBuffer.h"
1818
#include <atomic>
1919

20-
class rect;
20+
struct rect;
2121

2222
namespace tsunami {
2323

src/view/helper/SymbolRenderer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "../../lib/base/base.h"
1212

1313
class Painter;
14-
class vec2;
14+
struct vec2;
1515

1616
namespace tsunami {
1717

0 commit comments

Comments
 (0)