]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_basic_types.cc
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / rgw / rgw_basic_types.cc
index c16d920f21b0be67ce9873900987ead3a6602757..b4ac14a7d2e708abf7dabadf6598cbf56842f76c 100644 (file)
@@ -1,3 +1,6 @@
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab
+
 #include <iostream>
 #include <sstream>
 #include <string>
@@ -33,10 +36,5 @@ ostream& operator <<(ostream& m, const Principal& p) {
   }
   return m << (p.is_user() ? "user/" : "role/") << p.get_id();
 }
-string to_string(const Principal& p) {
-  stringstream s;
-  s << p;
-  return s.str();
-}
 }
 }