@@ -54,10 +54,6 @@ unique_ptr<FirebaseGet> Firebase::getPtr(const String& path) {
54
54
return unique_ptr<FirebaseGet>(new FirebaseGet (host_, auth_, path, http_.get ()));
55
55
}
56
56
57
- unique_ptr<FirebaseGet> Firebase::getPtr (const String& path) {
58
- return unique_ptr<FirebaseGet>(new FirebaseGet (host_, auth_, path, &http_));
59
- }
60
-
61
57
FirebaseSet Firebase::set (const String& path, const String& value) {
62
58
return FirebaseSet (host_, auth_, path, value, http_.get ());
63
59
}
@@ -68,23 +64,13 @@ unique_ptr<FirebaseSet> Firebase::setPtr(const String& path,
68
64
new FirebaseSet (host_, auth_, path, value, http_.get ()));
69
65
}
70
66
71
- unique_ptr<FirebaseSet> Firebase::setPtr (const String& path,
72
- const String& value) {
73
- return unique_ptr<FirebaseSet>(
74
- new FirebaseSet (host_, auth_, path, value, &http_);
75
- }
76
-
77
67
FirebasePush Firebase::push (const String& path, const String& value) {
78
68
return FirebasePush (host_, auth_, path, value, http_.get ());
79
69
}
80
70
unique_ptr<FirebasePush> Firebase::pushPtr (const String& path, const String& value) {
81
71
return unique_ptr<FirebasePush>(
82
72
new FirebasePush (host_, auth_, path, value, http_.get ()));
83
73
}
84
- unique_ptr<FirebasePush> Firebase::pushPtr (const String& path, const String& value) {
85
- return unique_ptr<FirebasePush>(
86
- new FirebasePush (host_, auth_, path, value, &http_);
87
- }
88
74
89
75
FirebaseRemove Firebase::remove (const String& path) {
90
76
return FirebaseRemove (host_, auth_, path, http_.get ());
@@ -95,11 +81,6 @@ unique_ptr<FirebaseRemove> Firebase::removePtr(const String& path) {
95
81
new FirebaseRemove (host_, auth_, path, http_.get ()));
96
82
}
97
83
98
- unique_ptr<FirebaseRemove> Firebase::removePtr (const String& path) {
99
- return unique_ptr<FirebaseRemove>(
100
- new FirebaseRemove (host_, auth_, path, &http_);
101
- }
102
-
103
84
FirebaseStream Firebase::stream (const String& path) {
104
85
// TODO: create new client dedicated to stream.
105
86
return FirebaseStream (host_, auth_, path, http_.get ());
@@ -111,12 +92,6 @@ unique_ptr<FirebaseStream> Firebase::streamPtr(const String& path) {
111
92
new FirebaseStream (host_, auth_, path, http_.get ()));
112
93
}
113
94
114
- unique_ptr<FirebaseStream> Firebase::streamPtr (const String& path) {
115
- // TODO: create new client dedicated to stream.
116
- return unique_ptr<FirebaseStream>(
117
- new FirebaseStream (host_, auth_, path, &http_);
118
- }
119
-
120
95
// FirebaseCall
121
96
FirebaseCall::FirebaseCall (const String& host, const String& auth,
122
97
const char * method, const String& path,
0 commit comments