summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-02-14 09:17:26 +0100
committerMattes D <github@xoft.cz>2015-02-14 09:17:26 +0100
commit1f3d11de32e36dfc983393266f105b969d8dfef8 (patch)
treea5acffbd980e69d3d2c7b9ccab06e70c4d05e9f5 /src
parentExported TLS server start on cTCPLink to Lua API. (diff)
downloadcuberite-1f3d11de32e36dfc983393266f105b969d8dfef8.tar
cuberite-1f3d11de32e36dfc983393266f105b969d8dfef8.tar.gz
cuberite-1f3d11de32e36dfc983393266f105b969d8dfef8.tar.bz2
cuberite-1f3d11de32e36dfc983393266f105b969d8dfef8.tar.lz
cuberite-1f3d11de32e36dfc983393266f105b969d8dfef8.tar.xz
cuberite-1f3d11de32e36dfc983393266f105b969d8dfef8.tar.zst
cuberite-1f3d11de32e36dfc983393266f105b969d8dfef8.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/LuaTCPLink.cpp2
-rw-r--r--src/Bindings/LuaTCPLink.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/LuaTCPLink.cpp b/src/Bindings/LuaTCPLink.cpp
index 40371d6da..d88c41120 100644
--- a/src/Bindings/LuaTCPLink.cpp
+++ b/src/Bindings/LuaTCPLink.cpp
@@ -468,7 +468,7 @@ cLuaTCPLink::cLinkSslContext::cLinkSslContext(cLuaTCPLink & a_Link):
-void cLuaTCPLink::cLinkSslContext::SetSelf(cLinkSslContextWPtr & a_Self)
+void cLuaTCPLink::cLinkSslContext::SetSelf(cLinkSslContextWPtr a_Self)
{
m_Self = a_Self;
}
diff --git a/src/Bindings/LuaTCPLink.h b/src/Bindings/LuaTCPLink.h
index 4e0d7dcec..c8ae776fe 100644
--- a/src/Bindings/LuaTCPLink.h
+++ b/src/Bindings/LuaTCPLink.h
@@ -114,7 +114,7 @@ protected:
cLinkSslContext(cLuaTCPLink & a_Link);
/** Shares ownership of self, so that this object can keep itself alive for as long as it needs. */
- void SetSelf(cLinkSslContextWPtr & a_Self);
+ void SetSelf(cLinkSslContextWPtr a_Self);
/** Removes the self ownership so that we can detect the SSL closure. */
void ResetSelf(void);