Skip to content

Commit 18f152b

Browse files
committed
Update DistinctUntilChanged method to return OperatorDistinctUntilChanged for consistency
1 parent bbc7254 commit 18f152b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReactiveArduinoLib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ namespace Reactive
245245
template <typename T>
246246
OperatorDistinctUntilChanged<T>& DistinctUntilChanged()
247247
{
248-
return *(new DistinctUntilChanged<T>());
248+
return *(new OperatorDistinctUntilChanged<T>());
249249
}
250250

251251
template <typename T>

0 commit comments

Comments
 (0)