[med-svn] [SCM] aghermann branch, master, updated. 99b1d5a023eee9df74b0e0d6f894516fc79435ad

Andrei Zavada johnhommer at gmail.com
Sun Jul 7 23:03:47 UTC 2013


The following commit has been merged in the master branch:
commit aa5ac1cfb14e037001962784c9433428db784de1
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Wed Jun 5 00:25:17 2013 +0300

    emacs knows now better how to indent lambdas

diff --git a/src/aghermann/ui/mw/mainmenu_cb.cc b/src/aghermann/ui/mw/mainmenu_cb.cc
index 16bfa75..0fe4deb 100644
--- a/src/aghermann/ui/mw/mainmenu_cb.cc
+++ b/src/aghermann/ui/mw/mainmenu_cb.cc
@@ -180,24 +180,24 @@ iExpBasicSADetectUltradianCycles_activate_cb(
 	using namespace agh;
 	CExpDesign::TEpisodeFilterFun filter =
 		[&ED]( agh::CSubject::SEpisode& E) -> bool
-	{
-		return E.recordings.find( *ED._AghHi) != E.recordings.end();
-	};
+		{
+			return E.recordings.find( *ED._AghHi) != E.recordings.end();
+		};
 	CExpDesign::TEpisodeOpFun F =
 		[&ED]( agh::CSubject::SEpisode& E)
-	{
-		ED.do_detect_ultradian_cycle( E.recordings.at( *ED._AghHi));
-	};
+		{
+			ED.do_detect_ultradian_cycle( E.recordings.at( *ED._AghHi));
+		};
 	CExpDesign::TEpisodeReportFun reporter =
 		[&ED]( const agh::CJGroup&, const agh::CSubject& J, const string&, const agh::CSubject::SEpisode& E,
 		       size_t i, size_t n)
-	{
-		snprintf_buf(
-			"Detect ultradian cycle %s/%s/%s",
-			ED.ED->group_of(J), J.id.c_str(), E.name());
-		ED.sb_main_progress_indicator( __buf__, n, i, TGtkRefreshMode::gtk);
-		gtk_widget_queue_draw( (GtkWidget*)ED.cMeasurements);
-	};
+		{
+			snprintf_buf(
+				"Detect ultradian cycle %s/%s/%s",
+				ED.ED->group_of(J), J.id.c_str(), E.name());
+			ED.sb_main_progress_indicator( __buf__, n, i, TGtkRefreshMode::gtk);
+			gtk_widget_queue_draw( (GtkWidget*)ED.cMeasurements);
+		};
 
 	ED.ED->for_all_episodes( F, reporter, filter);
 

-- 
Sleep experiment manager



More information about the debian-med-commit mailing list