summaryrefslogtreecommitdiff
path: root/netwerk/base/nsStandardURL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/base/nsStandardURL.cpp')
-rw-r--r--netwerk/base/nsStandardURL.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/netwerk/base/nsStandardURL.cpp b/netwerk/base/nsStandardURL.cpp
index aa60b52cd5..be40f817ea 100644
--- a/netwerk/base/nsStandardURL.cpp
+++ b/netwerk/base/nsStandardURL.cpp
@@ -3523,8 +3523,7 @@ ToIPCSegment(const nsStandardURL::URLSegment& aSegment)
return ipc::StandardURLSegment(aSegment.mPos, aSegment.mLen);
}
-inline
-MOZ_MUST_USE bool
+[[nodiscard]] inline bool
FromIPCSegment(const nsACString& aSpec, const ipc::StandardURLSegment& aSegment, nsStandardURL::URLSegment& aTarget)
{
// This seems to be just an empty segment.