Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/pal/desktop/NetworkDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ namespace MAT_NS_BEGIN
return true;
}

bool NetworkDetector::RegisterAndListen()
bool NetworkDetector::RegisterAndListen() noexcept
{
// ???
HRESULT hr = pNlm->QueryInterface(IID_IUnknown, (void**)&pSink);
Expand Down
2 changes: 1 addition & 1 deletion lib/pal/desktop/NetworkDetector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ namespace MAT_NS_BEGIN
/// Register and listen to network state notifications
/// </summary>
/// <returns></returns>
bool RegisterAndListen();
bool RegisterAndListen() noexcept;

/// <summary>
/// Reset network state listener to uninitialized state
Expand Down
4 changes: 2 additions & 2 deletions tests/functests/MultipleLogManagersTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ using namespace MAT;
class RequestHandler : public HttpServer::Callback
{
public:
RequestHandler(int id) : m_count(0), m_id(id){}
RequestHandler(int id) noexcept : m_id(id){}

int onHttpRequest(HttpServer::Request const& request, HttpServer::Response& /*response*/) override
{
Expand All @@ -54,7 +54,7 @@ class RequestHandler : public HttpServer::Callback
}

private:
size_t m_count;
size_t m_count {};
int m_id ;
};

Expand Down