#ifndef STINGRAYKIT_METAPROGRAMMING_TYPECOMPLETENESS_H
#define STINGRAYKIT_METAPROGRAMMING_TYPECOMPLETENESS_H

// Copyright (c) 2011 - 2017, GS Group, https://github.com/GSGroup
// Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted,
// provided that the above copyright notice and this permission notice appear in all copies.
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
// IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
// WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#include <stingraykit/metaprogramming/CompileTimeAssert.h>

namespace stingray
{

	template < typename T > struct StaticAssertCompleteType : CompileTimeAssert<sizeof(T) == sizeof(T)> { typedef T	ValueT; };

}

#endif

#ifndef STINGRAYKIT_METAPROGRAMMING_TYPECOMPLETENESS_H
#define STINGRAYKIT_METAPROGRAMMING_TYPECOMPLETENESS_H

// Copyright (c) 2011 - 2017, GS Group, https://github.com/GSGroup
// Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted,
// provided that the above copyright notice and this permission notice appear in all copies.
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
// IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
// WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#include <stingraykit/metaprogramming/CompileTimeAssert.h>

namespace stingray
{
	template < typename T > struct StaticAssertCompleteType : CompileTimeAssert<sizeof(T)> { typedef T	ValueT; };
}

#endif

--- 
+++ 
@@ -12,7 +12,9 @@
 
 namespace stingray
 {
-	template < typename T > struct StaticAssertCompleteType : CompileTimeAssert<sizeof(T)> { typedef T	ValueT; };
+
+	template < typename T > struct StaticAssertCompleteType : CompileTimeAssert<sizeof(T) == sizeof(T)> { typedef T	ValueT; };
+
 }
 
 #endif
Fix compile ui.shell, fckng non-standard behaviour

Revert "metaprogramming: Get rid of excess check in IsComplete"

This reverts commit dc328c6712e9d23b3a58f7dd14dbdfa8e5a196db.
