mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Use pointer not reference
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8847 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1a9a77b074
commit
835a0d9186
@ -1,3 +1,9 @@
|
||||
2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
|
||||
|
||||
* lyxserver.C (startPipe): use this (pointer) not *this (reference)
|
||||
* lyxsocket.C (LyXServerSocket): ditto
|
||||
(serverCallback): ditto
|
||||
|
||||
2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
|
||||
|
||||
* LaTeXFeatures.C: check release date when loading jurabib.
|
||||
|
@ -207,7 +207,7 @@ int LyXComm::startPipe(string const & filename, bool write)
|
||||
}
|
||||
|
||||
if (!write) {
|
||||
lyx_gui::register_socket_callback(fd, boost::bind(&LyXComm::read_ready, *this));
|
||||
lyx_gui::register_socket_callback(fd, boost::bind(&LyXComm::read_ready, this));
|
||||
}
|
||||
|
||||
return fd;
|
||||
|
@ -56,7 +56,7 @@ LyXServerSocket::LyXServerSocket(LyXFunc * f, string const & addr)
|
||||
|
||||
lyx_gui::register_socket_callback(
|
||||
fd_,
|
||||
boost::bind(&LyXServerSocket::serverCallback, *this)
|
||||
boost::bind(&LyXServerSocket::serverCallback, this)
|
||||
);
|
||||
|
||||
lyxerr[Debug::LYXSERVER] << "lyx: New server socket "
|
||||
@ -103,7 +103,7 @@ void LyXServerSocket::serverCallback()
|
||||
lyx_gui::register_socket_callback(
|
||||
client_fd,
|
||||
boost::bind(&LyXServerSocket::dataCallback,
|
||||
*this, client_fd)
|
||||
this, client_fd)
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user