]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/openssl_opts_handler.cc
import quincy beta 17.1.0
[ceph.git] / ceph / src / common / openssl_opts_handler.cc
index c0164dc7b4137ccb3324c4b0d5cee4f4d4e60c54..bb5f27e6b26b1106b6f2070fe6ef7bd34d213573 100644 (file)
@@ -27,6 +27,7 @@
 #include "include/scope_guard.h"
 
 using std::string;
+using std::ostream;
 using std::vector;
 
 // -----------------------------------------------------------------------------
@@ -55,7 +56,7 @@ string construct_engine_conf(const string &opts)
   vector<string> confs = get_str_vec(opts, ":");
   for (auto conf : confs) {
     // Construct engine section statement like "engine1=engine1_section"
-    engine_id = id_prefix + to_string(index++);
+    engine_id = id_prefix + std::to_string(index++);
     engine_statement += engine_id + "=" + engine_id + suffix + delimiter;
 
     // Adapt to OpenSSL parser