Skip to content

Commit 990406c

Browse files
authored
Address several typo fixes (#483)
Signed-off-by: Tomoya Fujita <[email protected]>
1 parent e51c2ec commit 990406c

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

ddsrouter_core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ find_package(cmake_utils REQUIRED)
3535
# - Set installation paths
3636
configure_project()
3737

38-
# Call explictly project
38+
# Call explicitly project
3939
project(
4040
${MODULE_NAME}
4141
VERSION

ddsrouter_test/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ find_package(cmake_utils REQUIRED)
3535
# - Set installation paths
3636
configure_project()
3737

38-
# Call explictly project
38+
# Call explicitly project
3939
project(
4040
${MODULE_NAME}
4141
VERSION
@@ -57,7 +57,7 @@ if(BUILD_COMPOSE_TESTS)
5757
add_subdirectory(compose)
5858
endif()
5959
# NOTE: this is done explicitly and not by a CMake macro (compile_test) as other packages
60-
# because it does not feel like reusable, so adding it to cmake_utils does not seems appropiate.
60+
# because it does not feel like reusable, so adding it to cmake_utils does not seems appropriate.
6161

6262
###############################################################################
6363
# Packaging

ddsrouter_yaml/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ find_package(cmake_utils REQUIRED)
3535
# - Set installation paths
3636
configure_project()
3737

38-
# Call explictly project
38+
# Call explicitly project
3939
project(
4040
${MODULE_NAME}
4141
VERSION

ddsrouter_yaml/src/cpp/YamlReader_configuration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ YamlReader::get<std::shared_ptr<participants::ParticipantConfiguration>>(
143143
default:
144144
// Non recheable code
145145
throw eprosima::utils::ConfigurationException(
146-
utils::Formatter() << "Unkown or non valid Participant kind: " << kind << ".");
146+
utils::Formatter() << "Unknown or non valid Participant kind: " << kind << ".");
147147
}
148148
}
149149

docs/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ find_package(cmake_utils REQUIRED)
3535
# - Set installation paths
3636
configure_project()
3737

38-
# Call explictly project
38+
# Call explicitly project
3939
project(
4040
${MODULE_NAME}
4141
VERSION

thirdparty/filewatch/FileWatch.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class FileWatch
134134
return *this;
135135
}
136136

137-
// Const memeber varibles don't let me implent moves nicely, if moves are really wanted std::unique_ptr should be used and move that.
137+
// Const member variables don't let me implement moves nicely, if moves are really wanted std::unique_ptr should be used and move that.
138138
FileWatch<T>(
139139
FileWatch<T>&&) = delete;
140140
FileWatch<T>& operator =(

thirdparty/optionparser/optionparser.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ class Option
574574
}
575575

576576
/**
577-
* @brief Returns true iff this is the first element of the linked list.
577+
* @brief Returns true if this is the first element of the linked list.
578578
*
579579
* The first element in the linked list is the first option on the command line
580580
* that has the respective Descriptor::index value.
@@ -587,7 +587,7 @@ class Option
587587
}
588588

589589
/**
590-
* @brief Returns true iff this is the last element of the linked list.
590+
* @brief Returns true if this is the last element of the linked list.
591591
*
592592
* The last element in the linked list is the last option on the command line
593593
* that has the respective Descriptor::index value.
@@ -1453,7 +1453,7 @@ class Parser
14531453
/**
14541454
* @internal
14551455
* @brief This is the core function that does all the parsing.
1456-
* @retval false iff an unrecoverable error occurred.
1456+
* @retval false if an unrecoverable error occurred.
14571457
*/
14581458
static bool workhorse(
14591459
bool gnu,
@@ -1467,7 +1467,7 @@ class Parser
14671467

14681468
/**
14691469
* @internal
1470-
* @brief Returns true iff @c st1 is a prefix of @c st2 and
1470+
* @brief Returns true if @c st1 is a prefix of @c st2 and
14711471
* in case @c st2 is longer than @c st1, then
14721472
* the first additional character is '='.
14731473
*
@@ -1497,7 +1497,7 @@ class Parser
14971497
* @internal
14981498
* @brief Like streq() but handles abbreviations.
14991499
*
1500-
* Returns true iff @c st1 and @c st2 have a common
1500+
* Returns true if @c st1 and @c st2 have a common
15011501
* prefix with the following properties:
15021502
* @li (if min > 0) its length is at least @c min characters or the same length as @c st1 (whichever is smaller).
15031503
* @li (if min <= 0) its length is the same as that of @c st1
@@ -1534,7 +1534,7 @@ class Parser
15341534

15351535
/**
15361536
* @internal
1537-
* @brief Returns true iff character @c ch is contained in the string @c st.
1537+
* @brief Returns true if character @c ch is contained in the string @c st.
15381538
*
15391539
* Returns @c true for @c ch==0 .
15401540
*/
@@ -1581,7 +1581,7 @@ struct Parser::Action
15811581
* options if they have a Descriptor whose Descriptor::check_arg does not return
15821582
* @ref ARG_ILLEGAL.
15831583
*
1584-
* Returns @c false iff a fatal error has occured and the parse should be aborted.
1584+
* Returns @c false if a fatal error has occured and the parse should be aborted.
15851585
*/
15861586
virtual bool perform(
15871587
Option&)
@@ -1595,7 +1595,7 @@ struct Parser::Action
15951595
* @param args pointer to the first remaining non-option argument (if numargs > 0).
15961596
*
15971597
* @return
1598-
* @c false iff a fatal error has occurred.
1598+
* @c false if a fatal error has occurred.
15991599
*/
16001600
virtual bool finished(
16011601
int numargs,

tools/ddsrouter_tool/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ find_package(cmake_utils REQUIRED)
3535
# - Set installation paths
3636
configure_project()
3737

38-
# Call explictly project
38+
# Call explicitly project
3939
project(
4040
${MODULE_NAME}
4141
VERSION

0 commit comments

Comments
 (0)