Remove unnecessary long/StatusCode conversions
In preparation for a larger re-design of StatusCode clean up a few places where the code unnecessarily relies on an implicit long type-conversion. In detail:
-
ObjectVector::remove
: Return the index of the deleted object as documented in the base class. Before it always returned 1 -
RegistryEntry
: Change return type of some methods fromlong
toStatusCode
-
IODataManager
: Get rid of theS_OK
/S_ERROR
enum alias as this relies on the actual type of theStatusCode
enums -
RootDataConnection
: Change return type ofsetCompression
fromlong
toStatusCode
- Replace a few
bool
-casts withisSuccess()
andlong
-casts withgetCode()
Edited by Frank Winklmeier
Merge request reports
Activity
- [2017-11-13 10:42] Validation started with lhcb-gaudi-merge#295
- [2017-11-14 00:02] Automatic merge failed in lhcb-future#601
- [2017-11-14 00:03] Automatic merge failed in lhcb-future-clang#375
- [2017-11-14 00:03] Automatic merge failed in lhcb-gaudi-head#1658
- [2017-11-15 00:03] Automatic merge failed in lhcb-future#602
- [2017-11-15 00:03] Automatic merge failed in lhcb-future-clang#376
- [2017-11-15 00:04] Automatic merge failed in lhcb-gaudi-head#1659
- [2017-11-16 00:02] Validation started with lhcb-gaudi-head#1660
- [2017-11-16 00:02] Validation started with lhcb-future#603
- [2017-11-16 00:02] Validation started with lhcb-future-clang#377
Edited by Software for LHCbadded 42 commits
-
5b9f9009...8395a81c - 40 commits from branch
gaudi:master
- ae4e372e - Remove unnecessary long/StatusCode conversions
- ec3d2ff1 - Remove implicit StatusCode casts
-
5b9f9009...8395a81c - 40 commits from branch
assigned to @clemenci
added C++ framework label
changed milestone to %v30r0
added backport to v29 label
mentioned in commit a1f1375a
mentioned in merge request !514 (merged)
removed backport to v29 label
Please register or sign in to reply