C++ NetworkTables - "incomplete type is not allowed"


I am trying to port over some old code. The line nt::NetworkTableInstance::GetDefault(); causes a compile error, “incomplete type is not allowed”. I also noticed that the GetDefault() function is no longer in the documentation. Does anyone know how to use the table?

Any help would be greatly appreciated,

That code should still work. Are you getting a compile error or just an IntelliSense error? Do you have #include <networktables/NetworkTableInstance.h> in your code? GetDefault() definitely still exists.