lordgamez commented on code in PR #1963:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1963#discussion_r2140298192


##########
extensions/rocksdb-repos/database/RocksDatabase.h:
##########
@@ -59,8 +59,6 @@ class RocksDatabase {
  private:
   const std::string column_;
   std::shared_ptr<RocksDbInstance> db_;
-
-  static std::shared_ptr<core::logging::Logger> logger_;

Review Comment:
   When LTO is enabled the order of initialization of the static object changes 
and the logger_ was not available when it was first used, so it crashed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to