mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-25 22:29:07 +00:00
Bug 1773604 - Move definition of kNotFound
to nsStringFwd.h
, r=xpcom-reviewers,barret
This also changes the definition to be a static rather than a #define, in order to reduce the potential impact. Differential Revision: https://phabricator.services.mozilla.com/D148295
This commit is contained in:
parent
a867c38ed4
commit
8dbbe37202
@ -15,8 +15,6 @@
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#define kNotFound -1
|
||||
|
||||
#include "nsStringFlags.h"
|
||||
#include "nsTStringRepr.h"
|
||||
#include "nsTSubstring.h"
|
||||
|
@ -11,6 +11,8 @@
|
||||
|
||||
#include "nscore.h"
|
||||
|
||||
static constexpr int32_t kNotFound = -1;
|
||||
|
||||
namespace mozilla {
|
||||
namespace detail {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user