summaryrefslogtreecommitdiff
path: root/BaseTools
diff options
context:
space:
mode:
authorAnderw Fish <afish@apple.com>2014-08-28 05:04:57 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-28 05:04:57 +0000
commited395cfecd7abddf69fc124799817a5a12a991d4 (patch)
treee128c4c5fbf53dd9128ae9cecbcceb363862c9e5 /BaseTools
parent07355bd5ccf46cabb0ad05f1a058c1cfcbad1081 (diff)
downloadedk2-platforms-ed395cfecd7abddf69fc124799817a5a12a991d4.tar.xz
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 <afish@apple.com> Reviewed-by: Gao, Liming <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15932 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools')
-rw-r--r--BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp2
-rw-r--r--BaseTools/Source/C/VfrCompile/VfrFormPkg.h2
2 files changed, 2 insertions, 2 deletions
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);