]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3919] Moved socket_path_ to initialization list
authorFrancis Dupont <fdupont@isc.org>
Wed, 24 Jun 2015 10:59:45 +0000 (12:59 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 24 Jun 2015 10:59:45 +0000 (12:59 +0200)
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc

index e645444109bf120b5a22114bede577102c324a2a..cde9c66c68ac5b1f3937cea91af68536ccde4bc6 100644 (file)
@@ -222,8 +222,8 @@ public:
     std::string socket_path_;
     boost::shared_ptr<NakedControlledDhcpv6Srv> server_;
 
-    CtrlChannelDhcpv6SrvTest() {
-        socket_path_ = string(TEST_DATA_BUILDDIR) + "/kea6.sock";
+    CtrlChannelDhcpv6SrvTest()
+        : socket_path_(string(TEST_DATA_BUILDDIR) + "/kea6.sock") {
         reset();
     }