зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
61c1f85e41
Коммит
707e39aaa9
|
@ -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:
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче