forked from Kistler-Group/sdbus-cpp
Switch from plain UnixFd to owning UnixFd (#69)
This commit is contained in:
committed by
GitHub
parent
c264f83e83
commit
a09362f79a
@@ -213,7 +213,7 @@ TEST_F(SdbusTestObject, CallsMethodWithObjectPathSuccesfully)
|
||||
TEST_F(SdbusTestObject, CallsMethodWithUnixFdSuccesfully)
|
||||
{
|
||||
auto resUnixFd = m_proxy->getUnixFd();
|
||||
ASSERT_THAT(resUnixFd, Gt(UNIX_FD_VALUE));
|
||||
ASSERT_THAT(resUnixFd.get(), Gt(UNIX_FD_VALUE));
|
||||
}
|
||||
|
||||
TEST_F(SdbusTestObject, CallsMethodWithComplexTypeSuccesfully)
|
||||
|
||||
@@ -160,7 +160,7 @@ protected:
|
||||
}
|
||||
sdbus::UnixFd getUnixFd() const
|
||||
{
|
||||
return UNIX_FD_VALUE;
|
||||
return sdbus::UnixFd{UNIX_FD_VALUE};
|
||||
}
|
||||
|
||||
ComplexType getComplex() const
|
||||
|
||||
Reference in New Issue
Block a user