Skip to content

Commit

Permalink
Hard-tock ignitionVersion -> gzVersion
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Jun 9, 2022
1 parent 342099d commit ac77e5e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions Migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ but with improved human-readability..
- **sdf/Types.hh**: The `Inertia` class has been deprecated. Please use the
`Inertial` class in the `gz-math` library.

- `ignitionVersion()` is deprecated and will be removed in future versions.
Use `gzVersion()` instead.

## libsdformat 11.x to 12.0

An error is now emitted instead of a warning for a file containing more than
Expand Down
5 changes: 0 additions & 5 deletions src/ign.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ extern "C" SDFORMAT_VISIBLE char *gzVersion()
#endif
}

extern "C" SDFORMAT_VISIBLE char *ignitionVersion()
{
return gzVersion();
}

//////////////////////////////////////////////////
/// \brief Print the full description of the SDF spec.
/// \return 0 on success, -1 if SDF could not be initialized.
Expand Down
1 change: 0 additions & 1 deletion src/ign.hh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ extern "C" SDFORMAT_VISIBLE int cmdCheck(const char *_path);

/// \brief External hook to read the library version.
/// \return C-string representing the version. Ex.: 0.1.2
extern "C" SDFORMAT_VISIBLE char SDF_DEPRECATED(13) *ignitionVersion();
extern "C" SDFORMAT_VISIBLE char *gzVersion();
}

Expand Down

0 comments on commit ac77e5e

Please sign in to comment.