Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2013 02:21:17 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r247757 - head/sbin/devd
Message-ID:  <201303040221.r242LHdj084951@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Mon Mar  4 02:21:17 2013
New Revision: 247757
URL: http://svnweb.freebsd.org/changeset/base/247757

Log:
  devd: Use the standard constructor of std::string instead of string("").
  
  Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>
  Approved by:	cperciva (mentor)

Modified:
  head/sbin/devd/devd.hh

Modified: head/sbin/devd/devd.hh
==============================================================================
--- head/sbin/devd/devd.hh	Mon Mar  4 02:21:15 2013	(r247756)
+++ head/sbin/devd/devd.hh	Mon Mar  4 02:21:17 2013	(r247757)
@@ -144,7 +144,7 @@ private:
 class config
 {
 public:
-	config() : _pidfile("") { push_var_table(); }
+	config() { push_var_table(); }
 	virtual ~config() { reset(); }
 	void add_attach(int, event_proc *);
 	void add_detach(int, event_proc *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303040221.r242LHdj084951>