We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 096249c commit e704860Copy full SHA for e704860
2 files changed
include/Wave.hpp
@@ -16,10 +16,9 @@ class Wave : public WaveUnmanaged {
16
public:
17
using WaveUnmanaged::WaveUnmanaged;
18
19
- Wave(const Wave& other) { set(other.Copy()); }
+ Wave(const Wave& other) : WaveUnmanaged(other.Copy()) {}
20
21
- Wave(Wave&& other) noexcept {
22
- set(other);
+ Wave(Wave&& other) noexcept : WaveUnmanaged(other) {
23
other.frameCount = 0;
24
other.sampleRate = 0;
25
other.sampleSize = 0;
tests/raylib_cpp_test.cpp
@@ -1,5 +1,5 @@
1
-#include "raylib-assert.h"
2
#include "raylib-cpp.hpp"
+#include "raylib-assert.h"
3
#include <string>
4
#include <vector>
5
0 commit comments