diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2024-07-05 22:31:37 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2024-07-07 09:41:02 +0200 |
commit | 02c91f82c2f8de24c6c2097d41725d9bae9d164a (patch) | |
tree | ed9f6a38eff84528f52ec7ed82df563f4aa7be8e /tools/Module_tools.mk | |
parent | 7cc291a8f2db3b2a65d07eded04e51c3c848c709 (diff) |
move UniqueID to tools and rework to increase counter in constructor
In the tools module it can be used in more other modules.
Changed the instantiation to increase the counter already in the
constructor, so no need to check if the ID is 0.
Also test for UniqueID
Change-Id: I77c80461875c69496a7e218534d16d6550c168c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170061
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'tools/Module_tools.mk')
-rw-r--r-- | tools/Module_tools.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/Module_tools.mk b/tools/Module_tools.mk index 5632a5b94a2d..4d477462c0fe 100644 --- a/tools/Module_tools.mk +++ b/tools/Module_tools.mk @@ -33,6 +33,7 @@ $(eval $(call gb_Module_add_targets_for_build,tools,\ $(eval $(call gb_Module_add_check_targets,tools,\ CppunitTest_tools_test \ CppunitTest_tools_config \ + CppunitTest_tools_unique_id \ )) # vim: set noet sw=4 ts=4: |