diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-16 22:50:45 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-16 22:50:45 +0300 |
commit | 9106d21e4be128937f31b98becae4eb0c0716f77 (patch) | |
tree | eafa72955e4d27d41793eae89ab15fc4e47d7cd8 /test/unit_tests/shared | |
parent | add .clang-tidy, `make check` (diff) | |
download | winapi-common-9106d21e4be128937f31b98becae4eb0c0716f77.tar.gz winapi-common-9106d21e4be128937f31b98becae4eb0c0716f77.zip |
test: echo is _not_ MSVC-only, all of a sudden
Diffstat (limited to '')
-rw-r--r-- | test/unit_tests/shared/fixed_size.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit_tests/shared/fixed_size.hpp b/test/unit_tests/shared/fixed_size.hpp index ba9a128..a796f56 100644 --- a/test/unit_tests/shared/fixed_size.hpp +++ b/test/unit_tests/shared/fixed_size.hpp @@ -36,7 +36,7 @@ public: std::string extract() const { // Lines are null-terminated, and don't store their lenghts, so... - return data(); + return this->data(); } }; @@ -66,7 +66,7 @@ struct StringList : public std::array<String<StringLength>, Length> { std::vector<std::string> extract() const { std::vector<std::string> dest; for (std::size_t i = 0; i < numof_lines; ++i) { - dest.emplace_back(at(i).extract()); + dest.emplace_back(this->at(i).extract()); } return dest; } |