From 09c1e965750ef7e6101f60d9d1b620ead84965e8 Mon Sep 17 00:00:00 2001 From: Douglas Ayers Date: Fri, 8 Nov 2024 14:27:08 -0500 Subject: [PATCH] Fixed comment order. --- src/qos_dictionary.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/qos_dictionary.cpp b/src/qos_dictionary.cpp index 928f13f..8490b39 100644 --- a/src/qos_dictionary.cpp +++ b/src/qos_dictionary.cpp @@ -196,11 +196,6 @@ DDS::DestinationOrderQosPolicyKind QosDictionary::getTimestampPolicy() return retval; } -DDS::DataRepresentationId_t QosDictionary::getDataRepresentationType() -{ - return DDS::XCDR2_DATA_REPRESENTATION; -} - /** * @brief Get the encoding for DataWriters * @details Snippet from the OpenDDS 3.16 developers guide: @@ -208,6 +203,11 @@ DDS::DataRepresentationId_t QosDictionary::getDataRepresentationType() * We default to XCDR2, but if $DDS_USE_OLD_CDR is set, CDR is used for compatilility with versions before 3.16.0 * @return QosPolicy for destination order. */ +DDS::DataRepresentationId_t QosDictionary::getDataRepresentationType() +{ + return DDS::XCDR2_DATA_REPRESENTATION; +} + OpenDDS::DCPS::Encoding::Kind QosDictionary::getEncodingKind() { if (QosDictionary::getDataRepresentationType() == DDS::XCDR_DATA_REPRESENTATION)