Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Oct 10, 2023
1 parent effd7c3 commit 8554c95
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions avogadro/io/fileformat.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,13 @@ class AVOGADROIO_EXPORT FileFormat
*/
virtual Operations supportedOperations() const = 0;


/**
* @brief Validates the given file name.
*
*
* Checks if the filename contains any invalid characters (e.g. ..)
* Also checks if the filename contains a restricted name on Windows.
* e.g., CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, etc.
*
*
* @param fileName The name of the file to be validated.
* @return true if the file name is valid, false otherwise.
*/
Expand Down Expand Up @@ -265,7 +264,7 @@ inline FileFormat::Operation operator|(FileFormat::Operation a,
static_cast<int>(b));
}

} // end Io namespace
} // end Avogadro namespace
} // namespace Io
} // namespace Avogadro

#endif // AVOGADRO_IO_FILEFORMAT_H

0 comments on commit 8554c95

Please sign in to comment.