浏览代码

Merge pull request #1633 from Dmitry-Me/removeRedundantQualifier

decklink: Remove redundant const qualifiers
Colin Edwards 6 年之前
父节点
当前提交
734349638f
共有 2 个文件被更改,包括 4 次插入4 次删除
  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;