* tls_pbuf.h (tmp_pathbuf::tmp_pathbuf): Convert to inline method.

(tmp_pathbuf::~tmp_pathbuf): Ditto.
	* tls_pbuf.cc (tmp_pathbuf::tmp_pathbuf): Remove here.
	(tmp_pathbuf::~tmp_pathbuf): Ditto.
This commit is contained in:
Corinna Vinschen
2014-08-20 19:44:09 +00:00
parent 905a851912
commit 854e058b56
3 changed files with 18 additions and 13 deletions

View File

@@ -22,17 +22,6 @@ tls_pathbuf::destroy ()
free (w_buf[i]);
}
tmp_pathbuf::tmp_pathbuf ()
: c_buf_old (tls_pbuf.c_cnt),
w_buf_old (tls_pbuf.w_cnt)
{}
tmp_pathbuf::~tmp_pathbuf ()
{
tls_pbuf.c_cnt = c_buf_old;
tls_pbuf.w_cnt = w_buf_old;
}
char *
tmp_pathbuf::c_get ()
{