From 590b44378cf315863f6ac12acf5cf860115da3f3 Mon Sep 17 00:00:00 2001 From: Nicholas Baron Date: Wed, 17 Apr 2019 20:45:00 -0700 Subject: [PATCH] Inlined a one line function --- src/CalcViewModel/Common/CopyPasteManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CalcViewModel/Common/CopyPasteManager.h b/src/CalcViewModel/Common/CopyPasteManager.h index 2ed5750f..b00f32ef 100644 --- a/src/CalcViewModel/Common/CopyPasteManager.h +++ b/src/CalcViewModel/Common/CopyPasteManager.h @@ -27,7 +27,7 @@ namespace CalculatorApp public: static void CopyToClipboard(Platform::String^ stringToCopy); static concurrency::task GetStringToPaste(CalculatorApp::Common::ViewMode mode, CalculatorApp::Common::CategoryGroupType modeType, int programmerNumberBase = -1, int bitLengthType = -1); - static bool HasStringToPaste() + inline static bool HasStringToPaste() { return ClipboardTextFormat() >= 0; }