Skip to content

Commit 49fffb2

Browse files
committed
QPR-13609 namespace issues
1 parent 50e0259 commit 49fffb2

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

OREAnalytics/orea/app/analytics/calibrationanalytic.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626

2727
#include <ored/model/hwhistoricalcalibrationmodelbuilder.hpp>
2828

29-
using namespace ore::data;
30-
3129
namespace ore {
3230
namespace analytics {
3331

OREAnalytics/orea/app/hwhistoricalcalibrationdataloader.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
\ingroup app
2222
*/
2323

24+
#include <ql/quantlib.hpp>
25+
2426
#include <string>
2527
#include <vector>
2628
#include <map>
27-
#include <ql/quantlib.hpp>
28-
29-
using namespace QuantLib;
3029

3130
#pragma once
31+
3232
namespace ore {
3333
namespace analytics {
3434

@@ -78,4 +78,4 @@ class HwHistoricalCalibrationDataLoader {
7878
};
7979

8080
} // namespace analytics
81-
} // namespace ore
81+
} // namespace ore

QuantExt/qle/models/hwhistoricalcalibrationmodel.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
#include <map>
1818
#include <vector>
1919

20-
using namespace QuantLib;
21-
2220
namespace QuantExt {
2321

22+
using namespace QuantLib;
23+
2424
class HwHistoricalCalibrationModel {
2525
public:
2626
HwHistoricalCalibrationModel(const Date& asOfDate, const std::vector<Period>& curveTenor, const Real& lambda,

0 commit comments

Comments
 (0)