summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-09-23 17:02:12 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-09-23 17:02:12 -0400
commite290d14f65946600939321d2471ce9d4b2508e3e (patch)
treef3a73a9fed9d89d21cd4964457ae31a336110e5c /indra
parent626920dda38a512b27c5e8fd79b0c9b09be01898 (diff)
include <utility> for Linux: std::forward is not predefined
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/always_return.h1
-rw-r--r--indra/llcommon/llexception.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/always_return.h b/indra/llcommon/always_return.h
index b99eb49096..a56a8b443e 100644
--- a/indra/llcommon/always_return.h
+++ b/indra/llcommon/always_return.h
@@ -14,6 +14,7 @@
#define LL_ALWAYS_RETURN_H
#include <type_traits> // std::enable_if, std::is_convertible
+#include <utility> // std::forward
namespace LL
{
diff --git a/indra/llcommon/llexception.h b/indra/llcommon/llexception.h
index ba225ad221..0c32a55409 100644
--- a/indra/llcommon/llexception.h
+++ b/indra/llcommon/llexception.h
@@ -15,6 +15,7 @@
#include "always_return.h"
#include "stdtypes.h"
#include <stdexcept>
+#include <utility> // std::forward
#include <boost/exception/exception.hpp>
#include <boost/throw_exception.hpp>
#include <boost/current_function.hpp>