Skip to content

Commit 8b00960

Browse files
committed
Change indirectSource back to source
1 parent 024fde2 commit 8b00960

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/OpenGraph/Attribute/Indirect/IndirectAttribute.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ public struct IndirectAttribute<Value> {
1616
}
1717

1818
public var source: Attribute<Value> {
19-
get { Attribute(identifier: identifier.indirectSource) }
20-
nonmutating set { identifier.indirectSource = newValue.identifier }
19+
get { Attribute(identifier: identifier.source) }
20+
nonmutating set { identifier.source = newValue.identifier }
2121
}
2222

2323
public var dependency: AnyAttribute? {

Sources/OpenGraphCxx/include/OpenGraph/OGAttribute.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ void OGGraphSetIndirectDependency(OGAttribute attribute1, OGAttribute attribute2
7777

7878
OG_EXPORT
7979
OG_REFINED_FOR_SWIFT
80-
OGAttribute OGGraphGetIndirectAttribute(OGAttribute attribute) OG_SWIFT_NAME(getter:OGAttribute.indirectSource(self:));
80+
OGAttribute OGGraphGetIndirectAttribute(OGAttribute attribute) OG_SWIFT_NAME(getter:OGAttribute.source(self:));
8181

8282
OG_EXPORT
8383
OG_REFINED_FOR_SWIFT
84-
void OGGraphSetIndirectAttribute(OGAttribute attribute1, OGAttribute attribute2) OG_SWIFT_NAME(setter:OGAttribute.indirectSource(self:_:));
84+
void OGGraphSetIndirectAttribute(OGAttribute attribute1, OGAttribute attribute2) OG_SWIFT_NAME(setter:OGAttribute.source(self:_:));
8585

8686
OG_EXPORT
8787
OG_REFINED_FOR_SWIFT

0 commit comments

Comments
 (0)