summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/ProfileController.cpp')
-rw-r--r--Swift/Controllers/ProfileController.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/Controllers/ProfileController.cpp b/Swift/Controllers/ProfileController.cpp
index 48a4c93..d000164 100644
--- a/Swift/Controllers/ProfileController.cpp
+++ b/Swift/Controllers/ProfileController.cpp
@@ -33,7 +33,7 @@ ProfileController::~ProfileController() {
}
void ProfileController::handleUIEvent(UIEvent::ref event) {
- if (!boost::dynamic_pointer_cast<RequestProfileEditorUIEvent>(event)) {
+ if (!std::dynamic_pointer_cast<RequestProfileEditorUIEvent>(event)) {
return;
}
@@ -77,7 +77,7 @@ void ProfileController::handleVCardRetrievalError(const JID& jid, ErrorPayload::
if ((jid == JID()) && profileWindow) {
profileWindow->setProcessing(false);
profileWindow->setEnabled(false);
- profileWindow->setVCard(boost::make_shared<VCard>());
+ profileWindow->setVCard(std::make_shared<VCard>());
profileWindow->setError(QT_TRANSLATE_NOOP("", "There was an error fetching your current profile data"));
}
}