From ed395cfecd7abddf69fc124799817a5a12a991d4 Mon Sep 17 00:00:00 2001 From: Anderw Fish Date: Thu, 28 Aug 2014 05:04:57 +0000 Subject: BaseTools: Fix clang C++ build error Move argument default to constructor to remove clang warning. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Anderw Fish Reviewed-by: Gao, Liming git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15932 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp | 2 +- BaseTools/Source/C/VfrCompile/VfrFormPkg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'BaseTools/Source') diff --git a/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp b/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp index 6dfc118eea..376a454e02 100644 --- a/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp +++ b/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp @@ -95,7 +95,7 @@ SPendingAssign::GetKey ( } CFormPkg::CFormPkg ( - IN UINT32 BufferSize = 4096 + IN UINT32 BufferSize ) { CHAR8 *BufferStart; diff --git a/BaseTools/Source/C/VfrCompile/VfrFormPkg.h b/BaseTools/Source/C/VfrCompile/VfrFormPkg.h index 17471e6284..3d2def8b95 100644 --- a/BaseTools/Source/C/VfrCompile/VfrFormPkg.h +++ b/BaseTools/Source/C/VfrCompile/VfrFormPkg.h @@ -124,7 +124,7 @@ private: SPendingAssign *PendingAssignList; public: - CFormPkg (IN UINT32 BufferSize); + CFormPkg (IN UINT32 BufferSize = 4096); ~CFormPkg (); CHAR8 * IfrBinBufferGet (IN UINT32); -- cgit v1.2.3