From 61ec84b1d88a5972cd8cc7ed0f5ad9f0ae92c27c Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Wed, 6 May 2020 16:16:06 -0400 Subject: DRTVWR-476: Add llsd::clone(), llsd::shallow() aliases for new llsd_clone(), llsd_shallow() functions. --- indra/llcommon/llsdutil.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'indra/llcommon') diff --git a/indra/llcommon/llsdutil.h b/indra/llcommon/llsdutil.h index 2ff9ecdf89..84be95ba54 100644 --- a/indra/llcommon/llsdutil.h +++ b/indra/llcommon/llsdutil.h @@ -547,6 +547,16 @@ LLSD llsd_clone(LLSD value, LLSD filter = LLSD()); // the filter parameter. LLSD llsd_shallow(LLSD value, LLSD filter = LLSD()); +namespace llsd +{ + +// llsd namespace aliases +inline +LLSD clone (LLSD value, LLSD filter=LLSD()) { return llsd_clone (value, filter); } +inline +LLSD shallow(LLSD value, LLSD filter=LLSD()) { return llsd_shallow(value, filter); } + +} // namespace llsd // Specialization for generating a hash value from an LLSD block. template <> -- cgit v1.2.3