Commit ff22bdc2 authored by Davis King's avatar Davis King

A minor change to avoid warnings from visual studio

parent 35081b1e
......@@ -10,6 +10,14 @@
#include "../uintn.h"
#include "../timer.h"
#ifdef _MSC_VER
// this is to disable the "'this' : used in base member initializer list"
// warning you get from some of the GUI objects since all the objects
// require that their parent class be passed into their constructor.
// In this case though it is totally safe so it is ok to disable this warning.
#pragma warning(disable : 4355)
#endif // _MSC_VER
namespace dlib
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment