Browse Source

Platform: removed deprecated constructors taking nullptr.

Deprecated in windowless apps in
6feda42f13 (June 2016) and for windowed
apps in eeba2ac848 (March 2017). Use
constructors taking the NoCreate tag instead.
simd
Vladimír Vondruš 8 years ago
parent
commit
6bf91f4cdd
  1. 3
      doc/changelog.dox
  2. 8
      src/Magnum/Platform/GlxApplication.h
  3. 8
      src/Magnum/Platform/ScreenedApplication.h
  4. 8
      src/Magnum/Platform/Sdl2Application.h
  5. 8
      src/Magnum/Platform/WindowlessCglApplication.h
  6. 8
      src/Magnum/Platform/WindowlessEglApplication.h
  7. 8
      src/Magnum/Platform/WindowlessGlxApplication.h
  8. 8
      src/Magnum/Platform/WindowlessIosApplication.h
  9. 8
      src/Magnum/Platform/WindowlessWglApplication.h
  10. 8
      src/Magnum/Platform/WindowlessWindowsEglApplication.h
  11. 8
      src/Magnum/Platform/XEglApplication.h

3
doc/changelog.dox

@ -167,6 +167,9 @@ See also:
- Removed five-argument @ref Trade::MeshData2D and six-argument
@ref Trade::MeshData3D constructors that were deprecated since February
2017. Use the full six/seven-argument versions instead.
- Removed @ref Platform application constructors taking @cpp nullptr @ce,
deprecated in June 2016 for windowless apps and in March 2017 for windowed
apps. Use constructors taking the @ref NoCreate tag instead.
@section changelog-2018-10 2018.10

8
src/Magnum/Platform/GlxApplication.h

@ -102,14 +102,6 @@ class GlxApplication: public AbstractXApplication {
/** @copydoc Sdl2Application::Sdl2Application(const Arguments&, NoCreateT) */
explicit GlxApplication(const Arguments& arguments, NoCreateT);
#ifdef MAGNUM_BUILD_DEPRECATED
/**
* @brief @copybrief GlxApplication(const Arguments&, NoCreateT)
* @deprecated Use @ref GlxApplication(const Arguments&, NoCreateT) instead.
*/
CORRADE_DEPRECATED("use GlxApplication(const Arguments&, NoCreateT) instead") explicit GlxApplication(const Arguments& arguments, std::nullptr_t): GlxApplication{arguments, NoCreate} {}
#endif
protected:
/* Nobody will need to have (and delete) GlxApplication*, thus this is
faster than public pure virtual destructor */

8
src/Magnum/Platform/ScreenedApplication.h

@ -130,14 +130,6 @@ template<class Application> class BasicScreenedApplication: public Application,
*/
explicit BasicScreenedApplication(const typename Application::Arguments& arguments, NoCreateT);
#ifdef MAGNUM_BUILD_DEPRECATED
/**
* @brief @copybrief BasicScreenedApplication(const typename Application::Arguments&, NoCreateT)
* @deprecated Use @ref BasicScreenedApplication(const typename Application::Arguments&, NoCreateT) instead.
*/
CORRADE_DEPRECATED("use BasicScreenedApplication(const Arguments&, NoCreateT) instead") explicit BasicScreenedApplication(const typename Application::Arguments& arguments, std::nullptr_t): BasicScreenedApplication{arguments, NoCreate} {}
#endif
/**
* @brief Add screen to application
* @return Reference to self (for method chaining)

8
src/Magnum/Platform/Sdl2Application.h

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

8
src/Magnum/Platform/WindowlessCglApplication.h

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

8
src/Magnum/Platform/WindowlessEglApplication.h

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

8
src/Magnum/Platform/WindowlessGlxApplication.h

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

8
src/Magnum/Platform/WindowlessIosApplication.h

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

8
src/Magnum/Platform/WindowlessWglApplication.h

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

8
src/Magnum/Platform/WindowlessWindowsEglApplication.h

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

8
src/Magnum/Platform/XEglApplication.h

@ -103,14 +103,6 @@ class XEglApplication: public AbstractXApplication {
/** @copydoc Sdl2Application::Sdl2Application(const Arguments&, NoCreateT) */
explicit XEglApplication(const Arguments& arguments, NoCreateT);
#ifdef MAGNUM_BUILD_DEPRECATED
/**
* @brief @copybrief XEglApplication(const Arguments&, NoCreateT)
* @deprecated Use @ref XEglApplication(const Arguments&, NoCreateT) instead.
*/
CORRADE_DEPRECATED("use XEglApplication(const Arguments&, NoCreateT) instead") explicit XEglApplication(const Arguments& arguments, std::nullptr_t): XEglApplication{arguments, NoCreate} {}
#endif
protected:
/* Nobody will need to have (and delete) XEglApplication*, thus this is
faster than public pure virtual destructor */

Loading…
Cancel
Save