File tree Expand file tree Collapse file tree 2 files changed +13
-17
lines changed
dev/MRTCore/mrt/Microsoft.Windows.ApplicationModel.Resources/src Expand file tree Collapse file tree 2 files changed +13
-17
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,13 @@ namespace winrt::Microsoft::Windows::ApplicationModel::Resources::implementation
99{
1010 hstring ApplicationLanguages::m_language;
1111
12- void ApplicationLanguages::PrimaryLanguageOverride (hstring language)
13- {
14- m_language = language;
15- }
16-
1712 hstring ApplicationLanguages::PrimaryLanguageOverride ()
1813 {
1914 return m_language;
2015 }
2116
17+ void ApplicationLanguages::PrimaryLanguageOverride (hstring const & language)
18+ {
19+ m_language = language;
20+ }
2221} // namespace winrt::Microsoft::Windows::ApplicationModel::Resources::implementation
Original file line number Diff line number Diff line change 66
77namespace winrt ::Microsoft::Windows::ApplicationModel::Resources::implementation
88{
9+ struct ApplicationLanguages
10+ {
11+ ApplicationLanguages () = delete ;
912
10- struct ApplicationLanguages
11- {
12- ApplicationLanguages () = delete ;
13-
14- static void PrimaryLanguageOverride (hstring language);
15- static hstring PrimaryLanguageOverride ();
16-
17- private:
18- static hstring m_language;
19- };
13+ static hstring PrimaryLanguageOverride ();
14+ static void PrimaryLanguageOverride (hstring const & language);
2015
16+ private:
17+ static hstring m_language;
18+ };
2119} // namespace winrt::Microsoft::Windows::ApplicationModel::Resources::implementation
2220
2321namespace winrt ::Microsoft::Windows::ApplicationModel::Resources::factory_implementation
2422{
2523 struct ApplicationLanguages : ApplicationLanguagesT<ApplicationLanguages, implementation::ApplicationLanguages>
2624 {
2725 };
28- }
29- // namespace winrt::Microsoft::Windows::ApplicationModel::Resources::factory_implementation
26+ } // winrt::Microsoft::Windows::ApplicationModel::Resources::factory_implementation
You can’t perform that action at this time.
0 commit comments