Skip to content

Commit 4834e60

Browse files
authored
Changed visibility of observable_map_base::call_changed to protected
1 parent a22626a commit 4834e60

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

strings/base_collections_base.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -619,15 +619,17 @@ WINRT_EXPORT namespace winrt
619619
call_changed(Windows::Foundation::Collections::CollectionChange::Reset, impl::empty_value<K>());
620620
}
621621

622-
private:
623-
624-
event<Windows::Foundation::Collections::MapChangedEventHandler<K, V>> m_changed;
622+
protected:
625623

626624
void call_changed(Windows::Foundation::Collections::CollectionChange const change, K const& key)
627625
{
628626
m_changed(static_cast<D const&>(*this), make<args>(change, key));
629627
}
630628

629+
private:
630+
631+
event<Windows::Foundation::Collections::MapChangedEventHandler<K, V>> m_changed;
632+
631633
struct args : implements<args, Windows::Foundation::Collections::IMapChangedEventArgs<K>>
632634
{
633635
args(Windows::Foundation::Collections::CollectionChange const change, K const& key) noexcept :

0 commit comments

Comments
 (0)