mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
Append newlines to EOF of all translation units. (#11654)
We are switching to -Wnewline-eof soon and these will become errors. Anyway, this was undefined behavior.
This commit is contained in:
@@ -148,4 +148,4 @@ void KeyEventHandler::KeyboardHook(GLFWwindow* window,
|
||||
channel_->Send(event);
|
||||
}
|
||||
|
||||
} // namespace flutter
|
||||
} // namespace flutter
|
||||
|
||||
@@ -184,4 +184,4 @@ EGLBoolean AngleSurfaceManager::SwapBuffers(const EGLSurface surface) {
|
||||
return (eglSwapBuffers(egl_display_, surface));
|
||||
}
|
||||
|
||||
} // namespace flutter
|
||||
} // namespace flutter
|
||||
|
||||
@@ -60,4 +60,4 @@ void KeyEventHandler::KeyboardHook(Win32FlutterWindow* window,
|
||||
channel_->Send(event);
|
||||
}
|
||||
|
||||
} // namespace flutter
|
||||
} // namespace flutter
|
||||
|
||||
@@ -325,4 +325,4 @@ void Win32FlutterWindow::DestroyRenderSurface() {
|
||||
render_surface = EGL_NO_SURFACE;
|
||||
}
|
||||
|
||||
} // namespace flutter
|
||||
} // namespace flutter
|
||||
|
||||
@@ -176,4 +176,4 @@ class Win32FlutterWindow : public Win32Window {
|
||||
|
||||
} // namespace flutter
|
||||
|
||||
#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOW_H_
|
||||
#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOW_H_
|
||||
|
||||
@@ -237,4 +237,4 @@ Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept {
|
||||
GetWindowLongPtr(window, GWLP_USERDATA));
|
||||
}
|
||||
|
||||
} // namespace flutter
|
||||
} // namespace flutter
|
||||
|
||||
@@ -129,4 +129,4 @@ class Win32Window {
|
||||
|
||||
} // namespace flutter
|
||||
|
||||
#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WIN32_WINDOW_H_
|
||||
#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WIN32_WINDOW_H_
|
||||
|
||||
Reference in New Issue
Block a user