Browse Source

Platform: removed deprecated Application constructors taking nullptr.

Deprecated since 2017, use the ones taking NoCreate instead.
pull/331/head
Vladimír Vondruš 7 years ago
parent
commit
90577d5bfc
  1. 3
      doc/changelog.dox
  2. 8
      src/Magnum/Platform/AndroidApplication.h
  3. 8
      src/Magnum/Platform/GlfwApplication.h

3
doc/changelog.dox

@ -321,6 +321,9 @@ See also:
and @ref GL::Context::DetectedDriver::Angle instead
- Removed @cpp GL::CubeMapTexture::Coordinate @ce deprecated since 2016, use
@ref GL::CubeMapCoordinate instead
- Removed remaining @ref Platform::Sdl2Application "Platform::*Application"
constructors taking @cpp nullptr @ce instead of @ref NoCreate, deprecated
since 2017
- Removed the `Shapes` library together with `DebugTools::ShapeRenderer`,
which was a failed design experiment deprecated since version 2018.10
(see [mosra/magnum#148](https://github.com/mosra/magnum/issues/148))

8
src/Magnum/Platform/AndroidApplication.h

@ -208,14 +208,6 @@ class AndroidApplication {
*/
explicit AndroidApplication(const Arguments& arguments, NoCreateT);
#ifdef MAGNUM_BUILD_DEPRECATED
/**
* @brief @copybrief AndroidApplication(const Arguments&, NoCreateT)
* @deprecated Use @ref AndroidApplication(const Arguments&, NoCreateT) instead.
*/
CORRADE_DEPRECATED("use AndroidApplication(const Arguments&, NoCreateT) instead") explicit AndroidApplication(const Arguments& arguments, std::nullptr_t): AndroidApplication{arguments, NoCreate} {}
#endif
/** @brief Copying is not allowed */
AndroidApplication(const AndroidApplication&) = delete;

8
src/Magnum/Platform/GlfwApplication.h

@ -212,14 +212,6 @@ class GlfwApplication {
*/
explicit GlfwApplication(const Arguments& arguments, NoCreateT);
#ifdef MAGNUM_BUILD_DEPRECATED
/**
* @brief @copybrief GlfwApplication(const Arguments&, NoCreateT)
* @deprecated Use @ref GlfwApplication(const Arguments&, NoCreateT) instead.
*/
CORRADE_DEPRECATED("use GlfwApplication(const Arguments&, NoCreateT) instead") explicit GlfwApplication(const Arguments& arguments, std::nullptr_t): GlfwApplication{arguments, NoCreate} {}
#endif
/** @brief Copying is not allowed */
GlfwApplication(const GlfwApplication&) = delete;

Loading…
Cancel
Save