summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/Exceptions.h6
-rw-r--r--includes/TaskMan.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/includes/Exceptions.h b/includes/Exceptions.h
index 53c4949..2b20e1e 100644
--- a/includes/Exceptions.h
+++ b/includes/Exceptions.h
@@ -131,10 +131,10 @@ static inline void TestHelper(const String & msg) throw (TestException) {
template<typename T>
ClassName::ClassName(T * ptr) {
#ifdef _MSC_VER
- m_demangled = strdup(typeid(*ptr).name());
+ m_demangled = strdup(typeid(*ptr).name());
#else
- int status;
- m_demangled = abi::__cxa_demangle(typeid(*ptr).name(), 0, 0, &status);
+ int status;
+ m_demangled = abi::__cxa_demangle(typeid(*ptr).name(), 0, 0, &status);
#endif
}
diff --git a/includes/TaskMan.h b/includes/TaskMan.h
index e187a56..eae78b9 100644
--- a/includes/TaskMan.h
+++ b/includes/TaskMan.h
@@ -88,9 +88,9 @@ class TaskMan {
template<class T>
friend T * createAsyncOp(T * op);
#ifdef _MSC_VER
- typedef stdext::hash_set<Task *> taskHash_t;
+ typedef stdext::hash_set<Task *> taskHash_t;
#else
- struct taskHasher { size_t operator()(const Task * t) const { return reinterpret_cast<uintptr_t>(t); } };
+ struct taskHasher { size_t operator()(const Task * t) const { return reinterpret_cast<uintptr_t>(t); } };
typedef gnu::hash_set<Task *, taskHasher> taskHash_t;
#endif
taskHash_t m_tasks, m_signaledTasks;