]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/dmclock/support/test/test_indirect_intrusive_heap.cc
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / dmclock / support / test / test_indirect_intrusive_heap.cc
index 23863a24ce91dde81ff4c132b728e055c5a66e60..8523a6a05ecc93d4ea1e8bd6b9789bb3aef3c7e6 100644 (file)
@@ -3,8 +3,16 @@
 
 /*
  * Copyright (C) 2016 Red Hat Inc.
+ *
+ * Author: J. Eric Ivancich <ivancich@redhat.com>
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License version
+ * 2.1, as published by the Free Software Foundation.  See file
+ * COPYING.
  */
 
+
 #include <iostream>
 #include <memory>
 #include <set>
@@ -20,7 +28,7 @@ struct Elem {
   crimson::IndIntruHeapData heap_data;
   crimson::IndIntruHeapData heap_data_alt;
 
-  Elem(int _data) : data(_data) { }
+  explicit Elem(int _data) : data(_data) { }
 
   bool operator==(const Elem& other) {
     return data == other.data;