diff options
author | Chris Robinson <[email protected]> | 2019-09-18 17:02:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-18 17:02:33 -0700 |
commit | 9a0a5c79d89d6056879124a7a9e68cffc5757a65 (patch) | |
tree | 0ed50812bca62a502d73c5c94003b60664090fbb /alc | |
parent | 24a10589522f07e3ff152777a986ad0fb72f2935 (diff) |
Avoid hiding a class member function
Diffstat (limited to 'alc')
-rw-r--r-- | alc/hrtf.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/alc/hrtf.cpp b/alc/hrtf.cpp index b925c5dd..c1dc840b 100644 --- a/alc/hrtf.cpp +++ b/alc/hrtf.cpp @@ -159,10 +159,10 @@ class databuf final : public std::streambuf { } public: - databuf(const char_type *start, const char_type *end) noexcept + databuf(const char_type *start_, const char_type *end_) noexcept { - setg(const_cast<char_type*>(start), const_cast<char_type*>(start), - const_cast<char_type*>(end)); + setg(const_cast<char_type*>(start_), const_cast<char_type*>(start_), + const_cast<char_type*>(end_)); } }; @@ -170,8 +170,8 @@ class idstream final : public std::istream { databuf mStreamBuf; public: - idstream(const char *start, const char *end) - : std::istream{nullptr}, mStreamBuf{start, end} + idstream(const char *start_, const char *end_) + : std::istream{nullptr}, mStreamBuf{start_, end_} { init(&mStreamBuf); } }; |