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
1 change: 1 addition & 0 deletions README/ReleaseNotes/v642/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ The `TMVA_SOFIE_GNN` tutorials have been migrated to this workflow and produce i
* The header `snprintf.h` is deprecated (will emit warnings) and will be removed in ROOT 6.44. Use instead `<cstdio>`.
* The header `Strlen.h` is deprecated and will be removed in ROOT 6.44. Use `<cstring>` directly as a replacement. `NEED_STRING` macro should not be defined or an error will be raised.
* The header `Varargs.h` and the macro `R__VA_COPY` are deprecated and will be removed in ROOT 6.46, use `<cstdarg>` instead.
* The header `TreeUtils.h` is deprecated and will be removed in ROOT 6.44, use instead `TNtuple::ReadStream` or `TNtupleD::ReadStream`.
* The header `Riostream.h` is deprecated and will be removed after ROOT 6.44, use `<iostream>` or `<fstream>` or `<iomanip>` instead.
* The header `Rstrstream.h` is deprecated and will be removed after ROOT 6.44, use instead `<sstream>`.
* The headers `ZipLZMA.h`, `ZipLZ4.h` and `ZipZSTD.h` are deprecated and will be removed in ROOT 6.46, use instead the public methods in the `RZip.h` interface.
Expand Down
4 changes: 4 additions & 0 deletions tree/tree/inc/TreeUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
#ifndef ROOT_TreeUtils
#define ROOT_TreeUtils

#if !defined(ROOT_TreeUtils_cxx) && !defined(G__DICTIONARY)
#warning "This header is deprecated and will be removed in ROOT 6.44, use instead TNtuple::ReadStream or TNtupleD::ReadStream"
#endif

#include <iosfwd>

#include "RtypesCore.h"
Expand Down
1 change: 1 addition & 0 deletions tree/tree/src/TNtuple.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "TBranch.h"
#include "TLeaf.h"
#include "TBrowser.h"
#define ROOT_TreeUtils_cxx
#include "TreeUtils.h"
#include "strlcpy.h"

Expand Down
1 change: 1 addition & 0 deletions tree/tree/src/TNtupleD.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "TLeaf.h"
#include "TBrowser.h"
#include "TBuffer.h"
#define ROOT_TreeUtils_cxx
#include "TreeUtils.h"
#include "strlcpy.h"

Expand Down
3 changes: 2 additions & 1 deletion tree/tree/src/TreeUtils.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
\ingroup tree

Different standalone functions to work with trees and tuples,
not reqiuired to be a member of any class.
not required to be a member of any class.
*/

#include <istream>
#include <cassert>
#include <cctype>

#define ROOT_TreeUtils_cxx
#include "TreeUtils.h"
#include "TNtupleD.h"
#include "TNtuple.h"
Expand Down
Loading