Skip to content

Commit 5b53d5a

Browse files
committed
ram: fixed swig spaceship operator
Signed-off-by: Brayden Louie <braydenl9988@gmail.com>
1 parent 55f02a6 commit 5b53d5a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/ram/include/ram/ram.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,6 @@ struct PortRole
7171
// for map so that keys are comparable
7272
#ifndef SWIG
7373
auto operator<=>(const PortRole&) const = default;
74-
#else
75-
bool operator<(const PortRole& other) const
76-
{
77-
return std::tie(type, index) < std::tie(other.type, other.index);
78-
}
7974
#endif
8075
};
8176

0 commit comments

Comments
 (0)