Przeglądaj źródła

decklink: Remove redundant const qualifiers

Dmitry-Me 6 lat temu
rodzic
commit
c9dc07db92

+ 2 - 2
plugins/decklink/decklink-device.cpp

@@ -207,12 +207,12 @@ const std::vector<DeckLinkDeviceMode *>& DeckLinkDevice::GetOutputModes(void) co
 	return outputModes;
 }
 
-const bool DeckLinkDevice::GetSupportsExternalKeyer(void) const
+bool DeckLinkDevice::GetSupportsExternalKeyer(void) const
 {
 	return supportsExternalKeyer;
 }
 
-const bool DeckLinkDevice::GetSupportsInternalKeyer(void) const
+bool DeckLinkDevice::GetSupportsInternalKeyer(void) const
 {
 	return supportsInternalKeyer;
 }

+ 2 - 2
plugins/decklink/decklink-device.hpp

@@ -39,8 +39,8 @@ public:
 	const std::string& GetHash(void) const;
 	const std::vector<DeckLinkDeviceMode *>& GetInputModes(void) const;
 	const std::vector<DeckLinkDeviceMode *>& GetOutputModes(void) const;
-	const bool GetSupportsExternalKeyer(void) const;
-	const bool GetSupportsInternalKeyer(void) const;
+	bool GetSupportsExternalKeyer(void) const;
+	bool GetSupportsInternalKeyer(void) const;
 	int GetKeyerMode(void);
 	void SetKeyerMode(int newKeyerMode);
 	const std::string& GetName(void) const;