aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-04-12 15:36:16 +0000
committerlloyd <[email protected]>2013-04-12 15:36:16 +0000
commit6015a80447b6a5ca727e08d018babfe3478e8e45 (patch)
tree7205edc73c3056bd6b66f7947ff753fe2673812e /src
parentc32351f6fde6fc32f197cfc1f5af7e1f06916bfe (diff)
Kill workaround for GCC 3.x
Diffstat (limited to 'src')
-rw-r--r--src/utils/dyn_load/dyn_load.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/utils/dyn_load/dyn_load.h b/src/utils/dyn_load/dyn_load.h
index 4d5cfb296..9edaed202 100644
--- a/src/utils/dyn_load/dyn_load.h
+++ b/src/utils/dyn_load/dyn_load.h
@@ -51,11 +51,7 @@ class Dynamically_Loaded_Library
template<typename T>
T resolve(const std::string& symbol)
{
-#if defined(__GNUC__) && __GNUC__ < 4
- return (T)(resolve_symbol(symbol));
-#else
return reinterpret_cast<T>(resolve_symbol(symbol));
-#endif
}
private: