From 02136ca4a6f9226e7b0220728b7dbe277fa66512 Mon Sep 17 00:00:00 2001 From: Emerson Knapp Date: Fri, 17 May 2019 15:32:01 -0700 Subject: [PATCH] volitile -> volatile 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); }