Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Ivanov <[email protected]>
  • Loading branch information
alexander-e1off committed Nov 28, 2024
1 parent 05192f0 commit a82b95f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,8 @@ bool CommandLineArguments::validate(bsl::string* error,
bool CommandLineArguments::isValidRecordType(const bsl::string* recordType,
bsl::ostream& stream)
{
if (*recordType != CommandLineArguments::k_MESSAGE_TYPE &&
*recordType != CommandLineArguments::k_QUEUEOP_TYPE &&
*recordType != CommandLineArguments::k_JOURNAL_TYPE) {
if (*recordType != k_MESSAGE_TYPE && *recordType != k_QUEUEOP_TYPE &&
*recordType != k_JOURNAL_TYPE) {
stream << "--record-type invalid: " << *recordType << bsl::endl;

return false; // RETURN
Expand Down

0 comments on commit a82b95f

Please sign in to comment.