Skip to content

Commit 764e753

Browse files
author
Alex Ames
committed
Removed commented out code.
1 parent 872b8ca commit 764e753

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

database/src/desktop/core/child_event_registration.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ bool ChildEventRegistration::RespondsTo(EventType event_type) {
3535

3636
Event ChildEventRegistration::GenerateEvent(const Change& change,
3737
const QuerySpec& query_spec) {
38-
// return Event(change.event_type, this,
39-
// DataSnapshotInternal(database_,
40-
// query_spec.path.GetChild(change.child_key),
41-
// change.indexed_variant.variant()),
42-
// change.prev_name);
4338
return Event(
4439
change.event_type, this,
4540
DataSnapshotInternal(database_, change.indexed_variant.variant(),

database/src/desktop/core/value_event_registration.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ bool ValueEventRegistration::RespondsTo(EventType event_type) {
3030

3131
Event ValueEventRegistration::GenerateEvent(const Change& change,
3232
const QuerySpec& query_spec) {
33-
// return Event(kEventTypeValue, this,
34-
// DataSnapshotInternal(database_,
35-
// query_spec.path.GetChild(change.child_key),
36-
// change.indexed_variant.variant()));
3733
return Event(
3834
kEventTypeValue, this,
3935
DataSnapshotInternal(database_, change.indexed_variant.variant(),

0 commit comments

Comments
 (0)