summaryrefslogtreecommitdiff
path: root/src/unittest/unittest.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2017-11-20 18:34:11 -0800
committerGabe Black <gabeblack@google.com>2017-11-27 22:10:44 +0000
commitbe62a45749dcc4eca09042eea52c04eb7f2ab864 (patch)
tree6923ed46e506051f3af41a468f191952b4ce9dfa /src/unittest/unittest.hh
parent82f76b8df0f4e6f46f5b0322dd30e5585c8eb9f9 (diff)
downloadgem5-be62a45749dcc4eca09042eea52c04eb7f2ab864.tar.xz
scons: Break make_obj into make_static and make_shared functions.
The make_obj function took a boolean value which just selected which of the two lines it in would actually do something. This change breaks it into two lambdas, make_static and make_shared, which just do whichever line would have been requested, making the funciton name more self descriptive and getting rid of the generally unnamed and opaque boolean argument. Change-Id: I457e40034b7e7f5a3e7294a8e1f15bbd42e0720e Reviewed-on: https://gem5-review.googlesource.com/5984 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/unittest/unittest.hh')
0 files changed, 0 insertions, 0 deletions