From 5f371cc39e0808f40daa6c579e16403654065911 Mon Sep 17 00:00:00 2001 From: bumrang Date: Wed, 25 Oct 2017 17:33:47 -0700 Subject: [PATCH] Fixed formatting to pass buildbot linter. --- Source/Core/Core/MemoryWatcher.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/Core/MemoryWatcher.cpp b/Source/Core/Core/MemoryWatcher.cpp index 63f43342e583..4f92ae82e18d 100644 --- a/Source/Core/Core/MemoryWatcher.cpp +++ b/Source/Core/Core/MemoryWatcher.cpp @@ -93,8 +93,8 @@ void MemoryWatcher::ParseLine(const std::string& line) bool MemoryWatcher::OpenSocket(const std::string& path) { #ifdef _WIN32 - m_pipe = CreateFile(L"\\\\.\\pipe\\Dolphin Emulator\\MemoryWatcher", - GENERIC_READ | GENERIC_WRITE, 0, nullptr, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, nullptr); + m_pipe = CreateFile(L"\\\\.\\pipe\\Dolphin Emulator\\MemoryWatcher", GENERIC_READ | GENERIC_WRITE, + 0, nullptr, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, nullptr); return m_pipe != INVALID_HANDLE_VALUE; #else @@ -141,10 +141,10 @@ void MemoryWatcher::Step() #ifdef _WIN32 if (m_pipe != INVALID_HANDLE_VALUE) WriteFile(m_pipe, message.c_str(), static_cast(message.size() + 1), &m_written, - nullptr); + nullptr); #else sendto(m_fd, message.c_str(), message.size() + 1, 0, reinterpret_cast(&m_addr), - sizeof(m_addr)); + sizeof(m_addr)); #endif } }