Skip to content

Commit 8733c83

Browse files
committed
Remove default parameter from function definition
1 parent 2e119cc commit 8733c83

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Generals/Code/GameEngineDevice/Source/W3DDevice/GameClient/W3DScreenshot.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
** along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19+
#include "W3DDevice/GameClient/W3DScreenshot.h"
20+
1921
#include <stdlib.h>
2022
#include <windows.h>
2123
#include <io.h>
2224

23-
#include "W3DDevice/GameClient/W3DScreenshot.h"
2425
#include "Common/GlobalData.h"
2526
#include "GameClient/InGameUI.h"
2627
#include "GameClient/GameText.h"
@@ -65,7 +66,7 @@ static DWORD WINAPI screenshotThreadFunc(LPVOID param)
6566
return 0;
6667
}
6768

68-
void W3D_TakeCompressedScreenshot(ScreenshotFormat format, int quality = 0)
69+
void W3D_TakeCompressedScreenshot(ScreenshotFormat format, int quality)
6970
{
7071
char leafname[256];
7172
char pathname[1024];

GeneralsMD/Code/GameEngineDevice/Source/W3DDevice/GameClient/W3DScreenshot.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
** along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19+
#include "W3DDevice/GameClient/W3DScreenshot.h"
20+
1921
#include <stdlib.h>
2022
#include <windows.h>
2123
#include <io.h>
2224

23-
#include "W3DDevice/GameClient/W3DScreenshot.h"
2425
#include "Common/GlobalData.h"
2526
#include "GameClient/InGameUI.h"
2627
#include "GameClient/GameText.h"
@@ -65,7 +66,7 @@ static DWORD WINAPI screenshotThreadFunc(LPVOID param)
6566
return 0;
6667
}
6768

68-
void W3D_TakeCompressedScreenshot(ScreenshotFormat format, int quality = 0)
69+
void W3D_TakeCompressedScreenshot(ScreenshotFormat format, int quality)
6970
{
7071
char leafname[256];
7172
char pathname[1024];

0 commit comments

Comments
 (0)