moved |explicit| here, where it belongs, from "nsCOMPtr.h"

This commit is contained in:
scc%mozilla.org 2000-06-10 09:58:15 +00:00
Родитель ab3cce39a1
Коммит b61d6b1d41
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -194,6 +194,14 @@ typedef PRUint16 PRUnichar;
#define HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL
#endif
/*
If the compiler doesn't support |explicit|, we'll just make it go away, trusting
that the builds under compilers that do have it will keep us on the straight and narrow.
*/
#ifndef HAVE_CPP_EXPLICIT
#define explicit
#endif
#ifdef HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX
#define NS_SPECIALIZE_TEMPLATE template <>
#else