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
9
9
{
10
10
hstring ApplicationLanguages::m_language;
11
11
12
- void ApplicationLanguages::PrimaryLanguageOverride (hstring language)
13
- {
14
- m_language = language;
15
- }
16
-
17
12
hstring ApplicationLanguages::PrimaryLanguageOverride ()
18
13
{
19
14
return m_language;
20
15
}
21
16
17
+ void ApplicationLanguages::PrimaryLanguageOverride (hstring const & language)
18
+ {
19
+ m_language = language;
20
+ }
22
21
} // namespace winrt::Microsoft::Windows::ApplicationModel::Resources::implementation
Original file line number Diff line number Diff line change 6
6
7
7
namespace winrt ::Microsoft::Windows::ApplicationModel::Resources::implementation
8
8
{
9
+ struct ApplicationLanguages
10
+ {
11
+ ApplicationLanguages () = delete ;
9
12
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);
20
15
16
+ private:
17
+ static hstring m_language;
18
+ };
21
19
} // namespace winrt::Microsoft::Windows::ApplicationModel::Resources::implementation
22
20
23
21
namespace winrt ::Microsoft::Windows::ApplicationModel::Resources::factory_implementation
24
22
{
25
23
struct ApplicationLanguages : ApplicationLanguagesT<ApplicationLanguages, implementation::ApplicationLanguages>
26
24
{
27
25
};
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