diff options
Diffstat (limited to 'support/hololens/ServoApp/ServoControl/ServoControl.h')
-rw-r--r-- | support/hololens/ServoApp/ServoControl/ServoControl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/support/hololens/ServoApp/ServoControl/ServoControl.h b/support/hololens/ServoApp/ServoControl/ServoControl.h index e5448a7f9ae..bd1d8a74d63 100644 --- a/support/hololens/ServoApp/ServoControl/ServoControl.h +++ b/support/hololens/ServoApp/ServoControl/ServoControl.h @@ -63,6 +63,7 @@ private: winrt::event<HistoryChangedDelegate> mOnHistoryChangedEvent; winrt::event<LoadStatusChangedDelegate> mOnLoadStartedEvent; winrt::event<LoadStatusChangedDelegate> mOnLoadEndedEvent; + hstring mInitialURL = L"https://servo.org"; Windows::UI::Xaml::Controls::SwapChainPanel ServoControl::Panel(); void CreateRenderSurface(); @@ -76,7 +77,7 @@ private: std::optional<Windows::Foundation::Uri> TryParseURI(hstring input) { try { return Windows::Foundation::Uri(input); - } catch (hresult_invalid_argument const &e) { + } catch (hresult_invalid_argument const &) { return {}; } } |