Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
stitchEm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefy Lanza (nextime / spora )
stitchEm
Commits
11ec46e1
Commit
11ec46e1
authored
May 12, 2019
by
Wieland Morgenstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
noexcept Audio samples to make std::map<..., Audio::Samples> work on Visual Studio 2017
parent
13d22bf5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
audio.hpp
lib/include/libvideostitch/audio.hpp
+1
-1
audio.cpp
lib/src/audio/audio.cpp
+1
-1
No files found.
lib/include/libvideostitch/audio.hpp
View file @
11ec46e1
...
...
@@ -327,7 +327,7 @@ class VS_EXPORT Samples {
* @brief Copy constructor with move semantics
* @param s The object to copy
*/
Samples
(
Samples
&&
s
);
Samples
(
Samples
&&
s
)
noexcept
;
/**
* @brief Copying audio samples is undefined
...
...
lib/src/audio/audio.cpp
View file @
11ec46e1
...
...
@@ -53,7 +53,7 @@ Samples::Samples(const SamplingRate r, const SamplingDepth d, const ChannelLayou
Samples
::~
Samples
()
{
delete_
(
samples
);
}
Samples
::
Samples
(
Samples
&&
o
)
:
depth
(
o
.
depth
),
rate
(
o
.
rate
),
layout
(
o
.
layout
)
{
Samples
::
Samples
(
Samples
&&
o
)
noexcept
:
depth
(
o
.
depth
),
rate
(
o
.
rate
),
layout
(
o
.
layout
)
{
// steal that music
nbSamples
=
o
.
nbSamples
;
timestamp
=
o
.
timestamp
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment