summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-12-01 12:49:01 -0800
committerRichard Linden <none@none>2012-12-01 12:49:01 -0800
commit4f9a5d0554c16a81625574a7a4ad6d5070e649e3 (patch)
tree46ed849c0d20fda39651cdbf77a265bc31ba93cf /indra/llcommon
parentca2207bd35c33b13b122f875a5a7d218f94ca3fc (diff)
fix for gcc compile errors
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llapr.h4
-rw-r--r--indra/llcommon/llunit.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/indra/llcommon/llapr.h b/indra/llcommon/llapr.h
index 7ca0f505ef..199b5291dd 100644
--- a/indra/llcommon/llapr.h
+++ b/indra/llcommon/llapr.h
@@ -249,7 +249,7 @@ public:
//*******************************************************************************************************************************
};
-class LLThreadLocalPointerBase : LLInstanceTracker<LLThreadLocalPointerBase>
+class LLThreadLocalPointerBase : public LLInstanceTracker<LLThreadLocalPointerBase>
{
public:
LLThreadLocalPointerBase()
@@ -331,7 +331,7 @@ public:
LLThreadLocalPointer(const LLThreadLocalPointer<T>& other)
- : LLThreadLocalPointerBase(other)
+ : LLThreadLocalPointerBase(other)
{
set(other.get());
}
diff --git a/indra/llcommon/llunit.h b/indra/llcommon/llunit.h
index fc1347b59f..54902b6322 100644
--- a/indra/llcommon/llunit.h
+++ b/indra/llcommon/llunit.h
@@ -177,6 +177,7 @@ template<typename UNIT_TYPE, typename STORAGE_TYPE>
struct LLUnitStrict : public LLUnit<UNIT_TYPE, STORAGE_TYPE>
{
typedef LLUnitStrict<UNIT_TYPE, STORAGE_TYPE> self_t;
+ typedef typename LLUnit<UNIT_TYPE, STORAGE_TYPE>::storage_t storage_t;
explicit LLUnitStrict(storage_t value = storage_t())
: LLUnit(value)