From 05c19028f45ba4ee9f2af63bffea2cf2b98e3f8d Mon Sep 17 00:00:00 2001 From: Emerson Knapp <537409+emersonknapp@users.noreply.github.com> Date: Fri, 17 May 2019 15:37:38 -0700 Subject: [PATCH] volitile -> volatile (#724) Signed-off-by: Emerson Knapp --- rclcpp/include/rclcpp/qos.hpp | 2 +- rclcpp/src/rclcpp/qos.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rclcpp/include/rclcpp/qos.hpp b/rclcpp/include/rclcpp/qos.hpp index 0943d9ad96..512a6386fa 100644 --- a/rclcpp/include/rclcpp/qos.hpp +++ b/rclcpp/include/rclcpp/qos.hpp @@ -106,7 +106,7 @@ class RCLCPP_PUBLIC QoS /// Set the durability setting to volatile. QoS & - volitile(); + volatile(); /// Set the durability setting to transient local. QoS & diff --git a/rclcpp/src/rclcpp/qos.cpp b/rclcpp/src/rclcpp/qos.cpp index 92108bfc66..a909f30966 100644 --- a/rclcpp/src/rclcpp/qos.cpp +++ b/rclcpp/src/rclcpp/qos.cpp @@ -120,7 +120,7 @@ QoS::durability(rmw_qos_durability_policy_t durability) } QoS & -QoS::volitile() +QoS::volatile() { return this->durability(RMW_QOS_POLICY_DURABILITY_VOLATILE); }