diff --git a/src/preferences/network/InterfaceListItem.h b/src/preferences/network/InterfaceListItem.h index 2725793729..396afe82a3 100644 --- a/src/preferences/network/InterfaceListItem.h +++ b/src/preferences/network/InterfaceListItem.h @@ -30,7 +30,7 @@ public: BRect bounds, bool complete); void Update(BView* owner, const BFont* font); - inline const char* Name() { return fInterface.Name(); } + inline const char* Name() const { return fInterface.Name(); } virtual void ConfigurationUpdated(const BMessage& message);