Fix a few doxygen warnings and add a few comments.

This commit is contained in:
jean-pierre charras
2017-07-04 11:08:27 +02:00
parent 098814e205
commit 969209c2cc
4 changed files with 41 additions and 29 deletions
+3 -5
View File
@@ -17,6 +17,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @file streamwrapper.cpp
*/
#if !defined( WIN32 ) || !defined( __GNUC__ )
#error streamwrapper.cpp should not be included in this build
@@ -35,7 +38,6 @@ kicad::stream::stream()
{
m_buf = NULL;
m_stream = NULL;
return;
}
@@ -49,8 +51,6 @@ kicad::stream::~stream()
m_buf->close(); // ensure file is closed regardless of m_buf's destructor
delete m_buf;
}
return;
}
@@ -110,8 +110,6 @@ void kicad::stream::Close( void )
{
if( m_buf )
m_buf->close();
return;
}