File tree Expand file tree Collapse file tree 3 files changed +0
-14
lines changed Expand file tree Collapse file tree 3 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,5 @@ class BlobstoreClient {
21
21
};
22
22
23
23
std::unique_ptr<BlobstoreClient> new_blobstore_client ();
24
- std::unique_ptr<std::vector<const BlobstoreClient*>> foo (uint64_t n);
25
- std::unique_ptr<std::vector<const uint64_t *>> foo2 (uint64_t n);
26
24
} // namespace blobstore
27
25
} // namespace org
Original file line number Diff line number Diff line change @@ -66,14 +66,5 @@ BlobMetadata BlobstoreClient::metadata(uint64_t blobid) const {
66
66
std::unique_ptr<BlobstoreClient> new_blobstore_client () {
67
67
return std::make_unique<BlobstoreClient>();
68
68
}
69
- std::unique_ptr<std::vector<const BlobstoreClient*>> foo (uint64_t n) {
70
- auto v = std::make_unique<std::vector<const BlobstoreClient*>>();
71
- v->push_back (new BlobstoreClient ());
72
- return v;
73
- }
74
- std::unique_ptr<std::vector<const uint64_t *>> foo2 (uint64_t n) {
75
- auto v = std::make_unique<std::vector<const uint64_t *>>();
76
- return v;
77
- }
78
69
} // namespace blobstore
79
70
} // namespace org
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ mod ffi {
23
23
fn put ( & self , parts : & mut MultiBuf ) -> u64 ;
24
24
fn tag ( & self , blobid : u64 , tag : & str ) ;
25
25
fn metadata ( & self , blobid : u64 ) -> BlobMetadata ;
26
- fn foo ( n : u64 ) -> UniquePtr < CxxVector < * const BlobstoreClient > > ;
27
- fn foo2 ( n : u64 ) -> UniquePtr < CxxVector < * const u64 > > ;
28
26
}
29
27
}
30
28
@@ -58,5 +56,4 @@ fn main() {
58
56
// Read back the tags.
59
57
let metadata = client. metadata ( blobid) ;
60
58
println ! ( "tags = {:?}" , metadata. tags) ;
61
- ffi:: foo2 ( 12 ) ;
62
59
}
You can’t perform that action at this time.
0 commit comments