Skip to content

Commit dea7d62

Browse files
authored
fix unit test (#968)
1 parent 327c219 commit dea7d62

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/unittests/InformationProviderImplTests.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ using namespace PAL;
1515

1616
namespace
1717
{
18+
using Callbacks = std::vector<std::pair<std::string, std::string>>;
19+
1820
class PropertyChangedCallbackSink : public IPropertyChangedCallback
1921
{
20-
std::vector<std::pair<std::string, std::string>> callbacks;
22+
Callbacks callbacks;
2123

2224
void OnChanged(std::string const& propertyName, std::string const& propertyValue) override
2325
{
@@ -27,7 +29,7 @@ namespace
2729
public:
2830
PropertyChangedCallbackSink() = default;
2931

30-
const auto& GetCallbacks() { return callbacks; }
32+
const Callbacks& GetCallbacks() { return callbacks; }
3133
};
3234
}
3335

0 commit comments

Comments
 (0)