mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 11:19:00 +08:00
1c9b23ba2b
* Initial commit * clean up * updated manifest and version * Removed C++11 mapping option (feature) and made C++11 the default mapping. * updated version * added main target added entries to ci.baseline.txt * corrected ci.baseline.txt entries * updated version * fixed generated header path * Updated version * fixed include paths * updated version * expect x64-windows-static to fail * added patches for clang 13 * update version * Update ports/zeroc-ice/portfile.cmake Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com> * 2->4 spaces * Removed v144/5 stuff * check for .DS_Store file before deletion * several changes * format vcpkg.json * update version * remove typo * updated version * reformatting * resolve review issues * regex * updated version * windows-static * allow static builds on windows and added maintainer * updated version * added openssl as a dependency for Ice core library * updated version * minor updates Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
26 lines
1.2 KiB
Diff
26 lines
1.2 KiB
Diff
diff --git a/cpp/src/slice2swift/SwiftUtil.cpp b/cpp/src/slice2swift/SwiftUtil.cpp
|
|
index 404dee7670..01e144de90 100644
|
|
--- a/cpp/src/slice2swift/SwiftUtil.cpp
|
|
+++ b/cpp/src/slice2swift/SwiftUtil.cpp
|
|
@@ -1523,7 +1523,7 @@ SwiftGenerator::writeMemberwiseInitializer(IceUtilInternal::Output& out,
|
|
const DataMemberList& baseMembers,
|
|
const DataMemberList& allMembers,
|
|
const ContainedPtr& p,
|
|
- bool local,
|
|
+ bool /*local*/,
|
|
bool rootClass,
|
|
const StringPairList& extraParams)
|
|
{
|
|
@@ -1531,11 +1531,6 @@ SwiftGenerator::writeMemberwiseInitializer(IceUtilInternal::Output& out,
|
|
{
|
|
out << sp;
|
|
out << nl;
|
|
- int typeCtx = TypeContextInParam;
|
|
- if(local)
|
|
- {
|
|
- typeCtx |= TypeContextLocal;
|
|
- }
|
|
out << "public init" << spar;
|
|
for(DataMemberList::const_iterator i = allMembers.begin(); i != allMembers.end(); ++i)
|
|
{
|