Skip to content

Commit

Permalink
E57SimpleWriter: Add deprecation notice to old Writer constructor (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
asmaloney committed Oct 4, 2022
1 parent abe95bc commit c6ec124
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions include/E57SimpleWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,15 @@ namespace e57
{
public:
//! @brief This function is the constructor for the writer class
//! @param [in] filePath file path to E57 file
//! @param [in] filePath Path to E57 file
//! @param [in] coordinateMetadata Information describing the Coordinate Reference System to be used for the file
Writer( const ustring &filePath, const ustring &coordinateMetadata = {} );
//! @deprecated Will be removed in 4.0. Use Writer( const ustring &filePath, const WriterOptions &options )
//! instead.
[[deprecated( "Will be removed in 4.0. Use Writer( ustring, WriterOptions )." )]] // TODO Remove in 4.0
explicit Writer( const ustring &filePath, const ustring &coordinateMetadata = {} );

//! @brief This function is the constructor for the writer class
//! @param [in] filePath file path to E57 file
//! @param [in] filePath Path to E57 file
//! @param [in] options Options to be used for the file
Writer( const ustring &filePath, const WriterOptions &options );

Expand Down

0 comments on commit c6ec124

Please sign in to comment.