summaryrefslogtreecommitdiffstats
path: root/sbin/devd/devd.hh
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-12-06 01:25:21 +0000
committereadler <eadler@FreeBSD.org>2012-12-06 01:25:21 +0000
commitd63ec4c24b02575838256ea35e13bf20df348995 (patch)
tree761d2448ead9c47f423d956e587be70de5496def /sbin/devd/devd.hh
parent76f827328bff797fb7cf44ba938fedf5f11ab20f (diff)
downloadFreeBSD-src-d63ec4c24b02575838256ea35e13bf20df348995.zip
FreeBSD-src-d63ec4c24b02575838256ea35e13bf20df348995.tar.gz
Prefer the use of initalizer lists to ctor assignment.
Approved by: cperciva MFC after: 2 weeks
Diffstat (limited to 'sbin/devd/devd.hh')
-rw-r--r--sbin/devd/devd.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/devd/devd.hh b/sbin/devd/devd.hh
index f50e502..3613216 100644
--- a/sbin/devd/devd.hh
+++ b/sbin/devd/devd.hh
@@ -144,7 +144,7 @@ private:
class config
{
public:
- config() { _pidfile = ""; push_var_table(); }
+ config() : _pidfile("") { push_var_table(); }
virtual ~config() { reset(); }
void add_attach(int, event_proc *);
void add_detach(int, event_proc *);
OpenPOWER on IntegriCloud