FLAC++: Add missing prototype for construct_block

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
This commit is contained in:
Thomas Zander 2017-06-22 20:10:09 +02:00 committed by Erik de Castro Lopo
parent 8f4dffe875
commit 7d3f9baedf

View File

@ -226,6 +226,15 @@ namespace FLAC {
inline void set_reference(bool x) { is_reference_ = x; }
};
// local utility routines
namespace local {
/** Construct a new object of the type provided in object->type and return it. */
Prototype *construct_block(::FLAC__StreamMetadata *object);
}
#ifdef _MSC_VER
// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
#pragma warning ( disable : 4800 )