From 3985c031da7e429d5630e2642e03c24200f68bcb Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 15 Nov 2023 08:20:40 -0500 Subject: [PATCH] [ntcore] ProtobufSubscriber: Fix typos (#5928) --- ntcore/src/main/native/include/networktables/ProtobufTopic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ntcore/src/main/native/include/networktables/ProtobufTopic.h b/ntcore/src/main/native/include/networktables/ProtobufTopic.h index 5fe615b26d..eba6bf0caa 100644 --- a/ntcore/src/main/native/include/networktables/ProtobufTopic.h +++ b/ntcore/src/main/native/include/networktables/ProtobufTopic.h @@ -60,12 +60,12 @@ class ProtobufSubscriber : public Subscriber { ProtobufSubscriber(ProtobufSubscriber&& rhs) : Subscriber{std::move(rhs)}, m_msg{std::move(rhs.m_msg)}, - m_defaultValue{std::move(rhs.defaultValue)} {} + m_defaultValue{std::move(rhs.m_defaultValue)} {} ProtobufSubscriber& operator=(ProtobufSubscriber&& rhs) { Subscriber::operator=(std::move(rhs)); m_msg = std::move(rhs.m_msg); - m_defaultValue = std::move(rhs.defaultValue); + m_defaultValue = std::move(rhs.m_defaultValue); return *this; }