Function registerNew

Synopsis

#include <src/easylogging++.h>

virtual void registerNew(const T_Key &uniqKey, T_Ptr *ptr) ELPP_FINAL

Description

Registers new registry to repository.

Source

Lines 1415-1418 in src/easylogging++.h.

virtual void registerNew(const T_Key& uniqKey, T_Ptr* ptr) ELPP_FINAL {
  unregister(uniqKey);
  this->list().insert(std::make_pair(uniqKey, ptr));
}





Add Discussion

Log in to comment