We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 327c219 commit dea7d62Copy full SHA for dea7d62
tests/unittests/InformationProviderImplTests.cpp
@@ -15,9 +15,11 @@ using namespace PAL;
15
16
namespace
17
{
18
+ using Callbacks = std::vector<std::pair<std::string, std::string>>;
19
+
20
class PropertyChangedCallbackSink : public IPropertyChangedCallback
21
- std::vector<std::pair<std::string, std::string>> callbacks;
22
+ Callbacks callbacks;
23
24
void OnChanged(std::string const& propertyName, std::string const& propertyValue) override
25
@@ -27,7 +29,7 @@ namespace
27
29
public:
28
30
PropertyChangedCallbackSink() = default;
31
- const auto& GetCallbacks() { return callbacks; }
32
+ const Callbacks& GetCallbacks() { return callbacks; }
33
};
34
}
35
0 commit comments