Skip to content
Snippets Groups Projects
Commit 48e17896 authored by Stewart Martin-Haugh's avatar Stewart Martin-Haugh
Browse files

Remove unnecessary ifdefs before standard includes, remove workaround for old GCC

parent 0347c311
No related branches found
No related tags found
No related merge requests found
......@@ -17,15 +17,8 @@
*
*****************************************************************************/
#ifndef _CPP_SSTREAM
#include <sstream>
#endif
#ifndef _STDIO_H
#include "stdio.h"
#endif
#ifndef GAUDIKERNEL_SYSTEM_H
#include "GaudiKernel/System.h"
#endif
#include <sstream>
#include "GaudiKernel/System.h"
template<typename T>
void CallBackID::set( StatusCode (T::*updF)(IOVSVC_CALLBACK_ARGS),
......@@ -40,11 +33,6 @@ void CallBackID::set( StatusCode (T::*updF)(IOVSVC_CALLBACK_ARGS),
p_obj = (void*) obj;
m_offset = u.i;
// make allowances for various versions of gcc
#if (__GNUC__ < 3)
m_offset /= 0x10000;
#endif
std::ostringstream ost;
ost << std::hex << "[0x" << (long)p_obj << "]+" << m_offset;
......
......@@ -13,12 +13,8 @@
#ifndef SGTOOLS_PROXYMAP_H
#define SGTOOLS_PROXYMAP_H
#ifndef _CPP_MAP
#include <map>
#endif
#ifndef _CPP_STRING
#include <string>
#endif
#include <map>
#include <string>
namespace SG {
class DataProxy;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment