Files
create/src/Gui
wmayer ce55d6be75 Gui: Rename ViewProviderDatum::getRoot() to ViewProviderDatum::getDatumRoot()
Before the change the compiler raised the warning: 'Gui::ViewProviderDatum::getRoot' hides overloaded virtual function [-Werror,-Woverloaded-virtual]
In the base class the method getRoot() is declared as const while in ViewProviderDatum it's not and that's why it's considered as an overloaded method.
However, this signature causes two problems:
1. In the client code it's not always clear which version of getRoot() should be called
2. It violates const-correctness

So, trying to declare the method ViewProviderDatum::getRoot() as const it now overrides the method of the base class (and fixes the warning) but
this doesn't lead to the expected result: See https://forum.freecad.org/viewtopic.php?p=796064#p796064

The other option is to rename the method. And this gives the expected result now.
2024-12-10 12:49:42 +01:00
..
2024-12-03 20:07:04 +01:00
2024-11-28 19:31:44 +01:00
2024-11-11 17:01:52 +01:00
2024-11-17 11:06:43 +01:00
2024-08-12 11:34:39 -04:00
2024-11-15 20:18:46 +01:00
2024-11-15 12:25:25 -05:00
2024-12-04 23:18:00 -05:00
2024-05-01 09:47:33 +02:00
2024-03-05 12:30:56 +01:00
2023-12-19 14:26:05 +01:00
2024-02-16 21:38:42 -06:00
2024-12-06 11:56:48 -05:00
2024-12-06 11:56:48 -05:00
2024-11-26 09:41:24 -05:00
2024-11-12 07:59:44 +01:00
2024-06-17 11:21:26 -05:00
2024-12-04 23:18:00 -05:00
2024-11-30 14:13:46 +01:00
2024-11-12 07:59:44 +01:00
2024-02-26 17:38:01 +01:00
2024-07-11 17:39:23 +02:00
2024-09-09 12:28:22 +02:00
2024-09-09 12:28:22 +02:00
2024-07-15 22:35:38 -05:00
2024-03-26 07:33:43 +01:00
2024-09-09 12:28:22 +02:00
2024-11-28 19:31:44 +01:00
2024-07-08 10:54:41 -05:00
2024-11-12 07:59:44 +01:00
2024-09-09 12:28:22 +02:00
2024-03-26 15:57:20 +01:00
2024-02-21 16:19:32 +01:00
2024-11-25 18:27:10 +01:00
2024-11-15 18:51:14 +01:00