diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-09-25 10:45:42 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-09-25 10:45:42 +0200 |
commit | 59346f2fe874f99acfcfd3e52117925ed5bcb862 (patch) | |
tree | bed78e86d34d144b2f1dbe533a951a4d947fd7aa /src/audio | |
parent | ae6ab3f47a2cecc5c157c551da94a3fbc84c1492 (diff) |
audio/types: Use const reference in SampleRate::operator=()
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/types.h b/src/audio/types.h index 5528e3c4c9..1200343bfb 100644 --- a/src/audio/types.h +++ b/src/audio/types.h @@ -137,7 +137,7 @@ class SampleRate { (m_value <= kValueMax); } - void operator=(const value_t value) { + void operator=(const value_t& value) { m_value = value; } |