Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ign -> gz Namespace migration (narrow) : gz-common #357

Closed
wants to merge 9 commits into from
Prev Previous commit
Next Next commit
Use pragma deprecation message in config.hh
Signed-off-by: methylDragon <methylDragon@gmail.com>
methylDragon authored and scpeters committed May 22, 2022
commit 6ecc2f8dfcccf15011b0dbdc061829636dea754b
17 changes: 17 additions & 0 deletions include/ignition/common/config.hh
Original file line number Diff line number Diff line change
@@ -15,4 +15,21 @@
*
*/

#ifndef IGNITION_COMMON__CONFIG_HH_
#define IGNITION_COMMON__CONFIG_HH_

#include <gz/common/config.hh>

namespace gz
{
}

namespace ignition
{
#ifndef SUPPRESS_IGNITION_HEADER_DEPRECATION
#pragma message("ignition namespace is deprecated! Use gz instead!")
#endif
using namespace gz;
}

#endif