Skip to content
Snippets Groups Projects
Commit 4c789be9 authored by Jonas Rembser's avatar Jonas Rembser
Browse files

[RF] Fix warning in RooVectorDataStore::RealFullVector schema evolution

This is a follow-up to 82d17fb6, fixing these warnings seen in the
nightlies (Ubuntu 20.04):

https://lcgapp-services.cern.ch/root-jenkins/view/ROOT%20Nightly/job/root-nightly-master/LABEL=ROOT-ubuntu2004-clang,SPEC=soversion,V=master/lastBuild/parsed_console/

```
/home/sftnight/build/night/LABEL/ROOT-ubuntu2004-clang/SPEC/soversion/V/master/build/roofit/roofitcore/G__RooFitCore.cxx:8047:11: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
          if(onfile._vecEL) _vecEL = *onfile._vecEL; \
          ^
/home/sftnight/build/night/LABEL/ROOT-ubuntu2004-clang/SPEC/soversion/V/master/build/roofit/roofitcore/G__RooFitCore.cxx:8046:7: note: previous statement is here
      if(onfile._vecE) _vecE = *onfile._vecE;    \
      ^

/home/sftnight/build/night/LABEL/ROOT-ubuntu2004-clang/SPEC/soversion/V/master/build/roofit/roofitcore/G__RooFitCore.cxx:8048:11: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
          if(onfile._vecEH) _vecEH = *onfile._vecEH;
          ^
/home/sftnight/build/night/LABEL/ROOT-ubuntu2004-clang/SPEC/soversion/V/master/build/roofit/roofitcore/G__RooFitCore.cxx:8047:11: note: previous statement is here
          if(onfile._vecEL) _vecEL = *onfile._vecEL; \
          ^
```
parent b52e2c8e
No related branches found
No related tags found
No related merge requests found
......@@ -328,9 +328,9 @@
#pragma link C++ class RooVectorDataStore::RealFullVector+ ;
#pragma read sourceClass="RooVectorDataStore::RealFullVector" targetClass="RooVectorDataStore::RealFullVector" version="[1]" \
source="std::vector<double>* _vecE; std::vector<double>* _vecEL; std::vector<double>* _vecEH" target="_vecE, _vecEL, _vecEH" \
code="{ if(onfile._vecE) _vecE = *onfile._vecE; \
if(onfile._vecEL) _vecEL = *onfile._vecEL; \
if(onfile._vecEH) _vecEH = *onfile._vecEH; }";
code="{ if(onfile._vecE) { _vecE = *onfile._vecE; } \
if(onfile._vecEL) { _vecEL = *onfile._vecEL; } \
if(onfile._vecEH) { _vecEH = *onfile._vecEH; } }";
#pragma link C++ class RooVectorDataStore::CatVector+;
#pragma read sourceClass="RooVectorDataStore::CatVector" targetClass="RooVectorDataStore::CatVector" version="[1]" \
source="std::vector<RooCatType> _vec;" target="_vec" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment