From 6f415bd8476a6abf71c0119dfc863724af4e344d Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Wed, 17 Dec 2025 13:18:07 -0800 Subject: [PATCH] container: root: remove loading `dfi` src API headers by default Because of the nature of the interpreter, these headers should be loaded/unloaded on an as-needed basis. This commit is particularly useful for pluggables in that, if the pluggable requires that the `dfi` API (or API-related implementations) have certain preprocessor requisites fulfilled for the pluggable, the API can now be compiled *after* the pluggable has been loaded but also *before* the pluggable *requires* the use of the API (or API-related). In other words, without this commit, a pluggable's `#define`s will be useless *after* the API (or API-related implementations) is loaded and compiled (at least not without an API reload, but that is not needed). NOTE: this change does not affect `dfi`'s pluggable auto-(un|re)loading, as the pluggable will have already been loaded prior to any other `dfi` API compiling. --- container/src/root/macro/rootlogon.C | 3 --- 1 file changed, 3 deletions(-) diff --git a/container/src/root/macro/rootlogon.C b/container/src/root/macro/rootlogon.C index 2e186cb..0e921d9 100644 --- a/container/src/root/macro/rootlogon.C +++ b/container/src/root/macro/rootlogon.C @@ -213,9 +213,6 @@ void rootlogon() // Load default `dfi` public consumables common::load("plugin/common/utility.hh"); common::load("macro/common/utility.hh"); - common::load("src/hash.hh"); - common::load("src/random.hh"); - common::load("src/utility.hh"); } #endif // CONTAINER_SRC_ROOT_MACRO_ROOTLOGON_C_