summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/llcommon/llhandle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llcommon/llhandle.h b/indra/llcommon/llhandle.h
index dfbfb91fc1..98ad7af81a 100644
--- a/indra/llcommon/llhandle.h
+++ b/indra/llcommon/llhandle.h
@@ -28,8 +28,10 @@
#define LLHANDLE_H
#include "llpointer.h"
+#include <stdexcept>
#include <boost/type_traits/is_convertible.hpp>
#include <boost/utility/enable_if.hpp>
+#include <boost/throw_exception.hpp>
/**
* Helper object for LLHandle. Don't instantiate these directly, used
@@ -216,7 +218,7 @@ private:
/*
* $TODO: Derive from LLException
*/
-struct LLExeceptionStaleHandle : public std::runtime_error
+class LLExeceptionStaleHandle : public std::runtime_error
{
public:
LLExeceptionStaleHandle():