]> git.lyx.org Git - features.git/blobdiff - src/lyxserver.C
erase->clear, AM_CONDTIONAL for conditional compilation of lyxstring, better LYX_CXX_...
[features.git] / src / lyxserver.C
index 6bfed35380753279c8485c01f01465899171b69e..09076d1d4fa69938f2c81ebd36d05fbe881f5975 100644 (file)
@@ -337,7 +337,7 @@ void LyXComm::callback(int fd, void *v)
                        {
                                lyxerr << "LyxComm: truncated command: " 
                                       << lsbuf << endl;
-                               lsbuf.erase();
+                               lsbuf.clear();
                        }
                        break; // reset connection
                }
@@ -485,7 +485,7 @@ void LyXServer::callback(LyXServer * serv, string const & msg)
                                }
                                if (i<serv->numclients) {
                                        serv->numclients--;
-                                       serv->clients[i].erase();
+                                       serv->clients[i].clear();
                                        lyxerr[Debug::LYXSERVER]
                                                << "LyXServer: Client "
                                                << client << " said goodbye"