Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions source/src/DBInterface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

#include <memory>
#include <algorithm>
#include <functional>
#include <stdlib.h>
#include <iomanip>

Expand All @@ -39,7 +38,7 @@
namespace lccd {

/** Helper class to sort collections of conditions data w.r.t. to their validity time intervall */
struct less_wrt_validity : public binary_function<lcio::LCCollection*,lcio::LCCollection*,bool>{
struct less_wrt_validity {
bool operator() (lcio::LCCollection* c0, lcio::LCCollection* c1) const {
return ( std::atoll( c0->parameters().getStringVal(lccd::DBSINCE).c_str() ) <
std::atoll( c1->parameters().getStringVal(lccd::DBSINCE).c_str() ) ) ;
Expand Down
4 changes: 1 addition & 3 deletions source/src/Xdr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@

#include"lccd/Xdr.hh"

#include <iostream>

namespace lccd{

//------------------------------------------
// Code copied from SIO_functions.
//------------------------------------------

#if defined(__alpha__) || defined(__i386__) || defined(_M_ALPHA) || defined(_M_IX86) || defined(__x86_64__)
#if defined(__alpha__) || defined(__i386__) || defined(_M_ALPHA) || defined(_M_IX86) || defined(__x86_64__) || defined(__aarch64__)
#define XDR_LITTLE_ENDIAN
#endif

Expand Down
Loading