Explorar el Código

decklink: Remove redundant const qualifiers

Dmitry-Me hace 7 años
padre
commit
c9dc07db92
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 2 2
      plugins/decklink/decklink-device.cpp
  2. 2 2
      plugins/decklink/decklink-device.hpp

+ 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;