]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
hello: Update cls_hello.cc to work without using namespace
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 01:56:32 +0000 (21:56 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 14:30:38 +0000 (10:30 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/cls/hello/cls_hello.cc

index accca89843e621331c51dec6a872f8c36320cdd1..eaa2df175eab8382a0db10f2c1b19971682aaf6d 100644 (file)
 #include <algorithm>
 #include <string>
 #include <sstream>
-#include <errno.h>
+#include <cerrno>
 
 #include "objclass/objclass.h"
 
+using ceph::bufferlist;
+using std::string;
+
 CLS_VER(1,0)
 CLS_NAME(hello)