Improve documentation

Former-commit-id: 08d70f6a53a7f12d2748d145d1fe139595a1b39e
This commit is contained in:
Lynix
2016-03-01 15:37:05 +01:00
parent dbce7592a9
commit 1c4135fc09
74 changed files with 277 additions and 242 deletions

View File

@@ -10,6 +10,7 @@
namespace Nz
{
/*!
* \ingroup core
* \class Nz::MemoryView
* \brief Core class that represents a view of the memory behaving like a stream
*/
@@ -134,7 +135,7 @@ namespace Nz
{
std::size_t endPos = static_cast<std::size_t>(m_pos + size);
if (endPos > m_size)
size = m_size - m_pos;
size = static_cast<std::size_t>(m_size - m_pos);
NazaraAssert(buffer, "Invalid buffer");