Bug 1434689 - Part 3: Annotate nsTSubstringTuple as MOZ_TEMPORARY_CLASS. r=froydnj

The documentation indicates nsTStringTuple is intended for internal use only
and is designed to be only be used as a temporary. This makes that fact
explicit by annotating the class for static analysis.

--HG--
extra : rebase_source : 737481fb39355c456cf1bbf17b887e35d692c4df
This commit is contained in:
Eric Rahm 2018-01-31 15:45:04 -08:00
Родитель 61c1f85e41
Коммит 707e39aaa9
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -8,6 +8,7 @@
#ifndef nsTSubstringTuple_h
#define nsTSubstringTuple_h
#include "mozilla/Attributes.h"
#include "nsTStringRepr.h"
/**
@ -20,7 +21,7 @@
* referenced outside the string code.
*/
template <typename T>
class nsTSubstringTuple
class MOZ_TEMPORARY_CLASS nsTSubstringTuple
{
public: