[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 4b95eeb 2/2: Include an appropriate header
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 4b95eeb 2/2: Include an appropriate header |
Date: |
Tue, 26 Oct 2021 16:27:47 -0400 (EDT) |
branch: master
commit 4b95eeb4567d7a03ab7e6bef38090a2096e5cb2e
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Include an appropriate header
Incidentally removed a useless comment.
---
currency_test.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/currency_test.cpp b/currency_test.cpp
index ccd4fdd..ac439ac 100644
--- a/currency_test.cpp
+++ b/currency_test.cpp
@@ -23,6 +23,7 @@
#include "currency.hpp"
+#include "miscellany.hpp" // stifle_warning_for_unused_variable()
#include "round_to.hpp"
#include "test_tools.hpp"
#include "timer.hpp"
@@ -86,7 +87,6 @@ void currency_test::test()
void currency_test::test_default_ctor()
{
- // default ctor
currency const a0;
LMI_TEST(0.00 == a0.d());
LMI_TEST( 0 == a0.m_);