[Bf-blender-cvs] [e097845a6fa] master: Cleanup: redundant headers mixed in with code
Campbell Barton
noreply at git.blender.org
Thu May 16 06:55:30 CEST 2019
Commit: e097845a6fab925a364b029c7b709db2b46176e1
Author: Campbell Barton
Date: Thu May 16 14:54:23 2019 +1000
Branches: master
https://developer.blender.org/rBe097845a6fab925a364b029c7b709db2b46176e1
Cleanup: redundant headers mixed in with code
===================================================================
M intern/ghost/GHOST_Rect.h
M intern/ghost/intern/GHOST_WindowX11.cpp
===================================================================
diff --git a/intern/ghost/GHOST_Rect.h b/intern/ghost/GHOST_Rect.h
index d4c05a7b8aa..831d3ef1445 100644
--- a/intern/ghost/GHOST_Rect.h
+++ b/intern/ghost/GHOST_Rect.h
@@ -236,7 +236,6 @@ inline void GHOST_Rect::unionPoint(GHOST_TInt32 x, GHOST_TInt32 y)
if (y > m_b)
m_b = y;
}
-#include <stdio.h>
inline void GHOST_Rect::wrapPoint(GHOST_TInt32 &x, GHOST_TInt32 &y, GHOST_TInt32 ofs)
{
GHOST_TInt32 w = getWidth();
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp
index 8c69b9eb65e..a8cbb874c50 100644
--- a/intern/ghost/intern/GHOST_WindowX11.cpp
+++ b/intern/ghost/intern/GHOST_WindowX11.cpp
@@ -1056,8 +1056,6 @@ GHOST_TSuccess GHOST_WindowX11::setState(GHOST_TWindowState state)
return (GHOST_kFailure);
}
-#include <iostream>
-
GHOST_TSuccess GHOST_WindowX11::setOrder(GHOST_TWindowOrder order)
{
if (order == GHOST_kWindowOrderTop) {
More information about the Bf-blender-cvs
mailing list