Added missing '\throws...' to Surface documentation

This commit is contained in:
Vraiment 2017-07-24 00:32:27 -07:00
parent 31c05f8739
commit f840f11eb3

View File

@ -217,6 +217,8 @@ public:
/// ///
/// \param[in] rwops RWops used to access an image file /// \param[in] rwops RWops used to access an image file
/// ///
/// \throws SDL2pp::Exception
///
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
explicit Surface(RWops& rwops); explicit Surface(RWops& rwops);
@ -225,6 +227,8 @@ public:
/// ///
/// \param[in] filename Path to an image file /// \param[in] filename Path to an image file
/// ///
/// \throws SDL2pp::Exception
///
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
explicit Surface(const std::string& filename); explicit Surface(const std::string& filename);
#endif #endif